diff options
author | Thibaut Girka <thib@sitedethib.com> | 2019-04-19 00:47:23 +0200 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2019-04-19 00:57:39 +0200 |
commit | 93199c9566ae8ae7a5a87b8567fec27f0f34b364 (patch) | |
tree | a926a320b3c4aff7a5782d092c99abca683ab8a3 | |
parent | d83068016bbf230d4a6f767c9e57d254e1592f7c (diff) |
Fix keybase indication on dashboard
-rw-r--r-- | app/controllers/admin/dashboard_controller.rb | 1 | ||||
-rw-r--r-- | app/views/admin/dashboard/index.html.haml | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/admin/dashboard_controller.rb b/app/controllers/admin/dashboard_controller.rb index f23ed1508..aedfeb70e 100644 --- a/app/controllers/admin/dashboard_controller.rb +++ b/app/controllers/admin/dashboard_controller.rb @@ -30,6 +30,7 @@ module Admin @trending_hashtags = TrendingTags.get(7) @profile_directory = Setting.profile_directory @timeline_preview = Setting.timeline_preview + @keybase_integration = Setting.enable_keybase end private diff --git a/app/views/admin/dashboard/index.html.haml b/app/views/admin/dashboard/index.html.haml index 21bdcae04..76dbf4388 100644 --- a/app/views/admin/dashboard/index.html.haml +++ b/app/views/admin/dashboard/index.html.haml @@ -50,7 +50,7 @@ %li = feature_hint(link_to(t('admin.dashboard.feature_timeline_preview'), edit_admin_settings_path), @timeline_preview) %li - = feature_hint(link_to(t('admin.dashboard.keybase'), edit_admin_settings_path), @timeline_preview) + = feature_hint(link_to(t('admin.dashboard.keybase'), edit_admin_settings_path), @keybase_integration) %li = feature_hint(link_to(t('admin.dashboard.feature_relay'), admin_relays_path), @relay_enabled) |