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
75460dd5
Commit
75460dd5
authored
Jul 30, 2018
by
Luke Bennett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
missing i18n, the sequel
parent
fe0b0dbe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
app/views/admin/application_settings/_usage.html.haml
app/views/admin/application_settings/_usage.html.haml
+3
-3
app/views/layouts/instance_statistics.html.haml
app/views/layouts/instance_statistics.html.haml
+4
-4
No files found.
app/views/admin/application_settings/_usage.html.haml
View file @
75460dd5
...
...
@@ -23,7 +23,7 @@
periodically collect usage information.
=
link_to
'Learn more'
,
help_page_path
(
"user/admin_area/settings/usage_statistics"
,
anchor:
"usage-ping"
)
about what information is shared with GitLab Inc. Visit
=
link_to
'Cohorts'
,
instance_statistics_cohorts_path
(
anchor:
'usage-ping'
)
=
link_to
_
(
'Cohorts'
)
,
instance_statistics_cohorts_path
(
anchor:
'usage-ping'
)
to see the JSON payload sent.
-
else
The usage ping is disabled, and cannot be configured through this
...
...
@@ -31,8 +31,8 @@
=
succeed
'.'
do
=
link_to
'deactivating the usage ping'
,
help_page_path
(
'user/admin_area/settings/usage_statistics'
,
anchor:
'deactivate-the-usage-ping'
)
.form-group
=
f
.
label
:instance_statistics_visibility_private
,
'Instance Statistics visibility'
=
f
.
select
:instance_statistics_visibility_private
,
options_for_select
({
'All users'
=>
false
,
'Only admins'
=>
true
},
Gitlab
::
CurrentSettings
.
instance_statistics_visibility_private?
),
{},
class:
'form-control'
=
f
.
label
:instance_statistics_visibility_private
,
_
(
'Instance Statistics visibility'
)
=
f
.
select
:instance_statistics_visibility_private
,
options_for_select
({
_
(
'All users'
)
=>
false
,
_
(
'Only admins'
)
=>
true
},
Gitlab
::
CurrentSettings
.
instance_statistics_visibility_private?
),
{},
class:
'form-control'
=
f
.
submit
'Save changes'
,
class:
"btn btn-success"
app/views/layouts/instance_statistics.html.haml
View file @
75460dd5
-
page_title
"Instance Statistics"
-
header_title
"Instance Statistics"
,
instance_statistics_root_path
-
nav
"instance_statistics"
-
page_title
_
(
'Instance Statistics'
)
-
header_title
_
(
'Instance Statistics'
)
,
instance_statistics_root_path
-
nav
'instance_statistics'
-
@left_sidebar
=
true
=
render
template:
"layouts/application"
=
render
template:
'layouts/application'
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