mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-23 15:24:53 +00:00
b11fdc3ae3
with YAML-defined defaults. Add admin page for editing global settings. Add "site_description" setting that would show as a paragraph on the frontpage
13 lines
712 B
Ruby
13 lines
712 B
Ruby
# frozen_string_literal: true
|
|
|
|
SimpleNavigation::Configuration.run do |navigation|
|
|
navigation.items do |primary|
|
|
primary.item :accounts, safe_join([fa_icon('users fw'), 'Accounts']), admin_accounts_url
|
|
primary.item :pubsubhubbubs, safe_join([fa_icon('paper-plane-o fw'), 'PubSubHubbub']), admin_pubsubhubbub_index_url
|
|
primary.item :domain_blocks, safe_join([fa_icon('lock fw'), 'Domain Blocks']), admin_domain_blocks_url
|
|
primary.item :sidekiq, safe_join([fa_icon('diamond fw'), 'Sidekiq']), sidekiq_url
|
|
primary.item :pghero, safe_join([fa_icon('database fw'), 'PgHero']), pghero_url
|
|
primary.item :settings, safe_join([fa_icon('cogs fw'), 'Site Settings']), admin_settings_url
|
|
end
|
|
end
|