about summary refs log tree commit diff
path: root/app/views/admin/settings/shared
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2022-10-22 11:44:41 +0200
committerGitHub <noreply@github.com>2022-10-22 11:44:41 +0200
commit7c152acb2cc545a87610de349a94e14f45fbed5d (patch)
tree1f698c5ffb954b000cb0779de5a2bf25884779c0 /app/views/admin/settings/shared
parentabf6c87ee8b57e09dca5f5b1fe1839a314e1aa46 (diff)
Change settings area to be separated into categories in admin UI (#19407)
And update all descriptions
Diffstat (limited to 'app/views/admin/settings/shared')
-rw-r--r--app/views/admin/settings/shared/_links.html.haml8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/admin/settings/shared/_links.html.haml b/app/views/admin/settings/shared/_links.html.haml
new file mode 100644
index 000000000..1294c26ce
--- /dev/null
+++ b/app/views/admin/settings/shared/_links.html.haml
@@ -0,0 +1,8 @@
+.content__heading__tabs
+  = render_navigation renderer: :links do |primary|
+    - primary.item :branding, safe_join([fa_icon('pencil fw'), t('admin.settings.branding.title')]), admin_settings_branding_path
+    - primary.item :about, safe_join([fa_icon('file-text fw'), t('admin.settings.about.title')]), admin_settings_about_path
+    - primary.item :registrations, safe_join([fa_icon('users fw'), t('admin.settings.registrations.title')]), admin_settings_registrations_path
+    - primary.item :discovery, safe_join([fa_icon('search fw'), t('admin.settings.discovery.title')]), admin_settings_discovery_path
+    - primary.item :content_retention, safe_join([fa_icon('history fw'), t('admin.settings.content_retention.title')]), admin_settings_content_retention_path
+    - primary.item :appearance, safe_join([fa_icon('desktop fw'), t('admin.settings.appearance.title')]), admin_settings_appearance_path