correct instance statistics tooltip

This commit is contained in:
Luke Bennett 2018-07-23 14:37:09 +01:00 committed by Bob Van Landuyt
parent f4592304f3
commit 702a09c183

View file

@ -68,7 +68,7 @@
%li.line-separator.d-none.d-sm-block %li.line-separator.d-none.d-sm-block
- if can?(current_user, :read_instance_statistics) - if can?(current_user, :read_instance_statistics)
= nav_link(controller: [:conversational_development_index, :cohorts]) do = nav_link(controller: [:conversational_development_index, :cohorts]) do
= link_to instance_statistics_root_path, title: 'Instance statistics', aria: { label: 'Instance statistics' }, data: {toggle: 'tooltip', placement: 'bottom', container: 'body'} do = link_to instance_statistics_root_path, title: 'Instance Statistics', aria: { label: 'Instance statistics' }, data: {toggle: 'tooltip', placement: 'bottom', container: 'body'} do
= sprite_icon('chart', size: 18) = sprite_icon('chart', size: 18)
- if current_user.admin? - if current_user.admin?
= nav_link(controller: 'admin/dashboard') do = nav_link(controller: 'admin/dashboard') do