|
|
@ -17,6 +17,12 @@ SimpleNavigation::Configuration.run do |navigation| |
|
|
|
settings.item :follower_domains, safe_join([fa_icon('users fw'), t('settings.followers')]), settings_follower_domains_url |
|
|
|
end |
|
|
|
|
|
|
|
primary.item :flavours, safe_join([fa_icon('paint-brush fw'), t('settings.flavours')]), settings_flavours_url do |flavours| |
|
|
|
Themes.instance.flavours.each do |flavour| |
|
|
|
flavours.item flavour.to_sym, safe_join([fa_icon('star fw'), t("flavours.#{flavour}.name", default: flavour)]), settings_flavour_url(flavour) |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
primary.item :invites, safe_join([fa_icon('user-plus fw'), t('invites.title')]), invites_path, if: proc { Setting.min_invite_role == 'user' } |
|
|
|
|
|
|
|
primary.item :development, safe_join([fa_icon('code fw'), t('settings.development')]), settings_applications_url do |development| |
|
|
|