Commit fe0b0dbe authored by Luke Bennett's avatar Luke Bennett

missing i18n

parent 0393a82d
...@@ -68,11 +68,11 @@ ...@@ -68,11 +68,11 @@
%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
= link_to admin_root_path, class: 'admin-icon qa-admin-area-link', title: _('Admin area'), aria: { label: "Admin area" }, data: {toggle: 'tooltip', placement: 'bottom', container: 'body'} do = link_to admin_root_path, class: 'admin-icon qa-admin-area-link', title: _('Admin area'), aria: { label: _('Admin area') }, data: {toggle: 'tooltip', placement: 'bottom', container: 'body'} do
= sprite_icon('admin', size: 18) = sprite_icon('admin', size: 18)
- if Gitlab::Sherlock.enabled? - if Gitlab::Sherlock.enabled?
%li %li
......
.nav-sidebar{ class: ("sidebar-collapsed-desktop" if collapsed_sidebar?) } .nav-sidebar{ class: ("sidebar-collapsed-desktop" if collapsed_sidebar?) }
.nav-sidebar-inner-scroll .nav-sidebar-inner-scroll
.context-header .context-header
= link_to instance_statistics_root_path, title: 'Instance Statistics' do = link_to instance_statistics_root_path, title: _('Instance Statistics') do
.avatar-container.s40.settings-avatar .avatar-container.s40.settings-avatar
= sprite_icon('chart', size: 24) = sprite_icon('chart', size: 24)
.sidebar-context-title Instance Statistics .sidebar-context-title= _('Instance Statistics')
%ul.sidebar-top-level-items %ul.sidebar-top-level-items
= nav_link(controller: :conversational_development_index) do = nav_link(controller: :conversational_development_index) do
= link_to instance_statistics_conversational_development_index_index_path do = link_to instance_statistics_conversational_development_index_index_path do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment