activeadmin_favorites 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/activeadmin/favorites/register_favorites.rb +4 -4
- data/lib/activeadmin/favorites/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9c67d1a6f05368e22d06b4b985c4357694ba08f5749c6cf267038eb10425c488
|
|
4
|
+
data.tar.gz: b547dc6d6c7bd68827cc822d91aa7714db18263720578e27e62c036627c986b2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e450a4e628623508e8a7d3901c6b2545e77090eda375d1bc8c08cad02fa0cb3354cfeec5b3667f4dc66e2f195bd7c86b1213d12e219e94cb9862bb1da55a4135
|
|
7
|
+
data.tar.gz: b82f99015445ec3a636077b28a1699e0b26d2ed148b66141f9f249f28382f9b5b7956c6ffe1c394468e59841188001e4bbd5b73e3485eb9aae8308ccea4154c8
|
data/CHANGELOG.md
CHANGED
|
@@ -186,12 +186,12 @@ module ActiveAdmin
|
|
|
186
186
|
|
|
187
187
|
index title: proc { I18n.t("active_admin.favorites.title") } do
|
|
188
188
|
nav class: "flex flex-wrap gap-3 mb-4", "aria-label": I18n.t("active_admin.favorites.kind_navigation") do
|
|
189
|
-
|
|
190
|
-
admin_favorites_path,
|
|
189
|
+
a I18n.t("active_admin.favorites.kinds.all"),
|
|
190
|
+
href: admin_favorites_path,
|
|
191
191
|
class: favorites_kind_tab_active?(nil) ? "font-semibold underline" : "text-gray-600 dark:text-gray-300"
|
|
192
192
|
Favorite::KINDS.each do |kind|
|
|
193
|
-
|
|
194
|
-
admin_favorites_path(kind: kind),
|
|
193
|
+
a I18n.t("active_admin.favorites.kinds.#{kind}"),
|
|
194
|
+
href: admin_favorites_path(kind: kind),
|
|
195
195
|
class: favorites_kind_tab_active?(kind) ? "font-semibold underline" : "text-gray-600 dark:text-gray-300"
|
|
196
196
|
end
|
|
197
197
|
end
|