Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
fe0b0dbe
Commit
fe0b0dbe
authored
Jul 30, 2018
by
Luke Bennett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
missing i18n
parent
0393a82d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
app/views/layouts/nav/_dashboard.html.haml
app/views/layouts/nav/_dashboard.html.haml
+2
-2
app/views/layouts/nav/sidebar/_instance_statistics.html.haml
app/views/layouts/nav/sidebar/_instance_statistics.html.haml
+2
-2
No files found.
app/views/layouts/nav/_dashboard.html.haml
View file @
fe0b0dbe
...
...
@@ -68,11 +68,11 @@
%li
.line-separator.d-none.d-sm-block
-
if
can?
(
current_user
,
:read_instance_statistics
)
=
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
)
-
if
current_user
.
admin?
=
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
)
-
if
Gitlab
::
Sherlock
.
enabled?
%li
...
...
app/views/layouts/nav/sidebar/_instance_statistics.html.haml
View file @
fe0b0dbe
.nav-sidebar
{
class:
(
"sidebar-collapsed-desktop"
if
collapsed_sidebar?
)
}
.nav-sidebar-inner-scroll
.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
=
sprite_icon
(
'chart'
,
size:
24
)
.sidebar-context-title
Instance Statistics
.sidebar-context-title
=
_
(
'Instance Statistics'
)
%ul
.sidebar-top-level-items
=
nav_link
(
controller: :conversational_development_index
)
do
=
link_to
instance_statistics_conversational_development_index_index_path
do
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment