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
c523be21
Commit
c523be21
authored
Apr 12, 2022
by
Sunjung Park
Committed by
Kushal Pandya
Apr 12, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Migrate form checkbox in the Grafana admin settings
Changelog: changed
parent
a0491ce9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
13 deletions
+10
-13
app/views/admin/application_settings/_grafana.html.haml
app/views/admin/application_settings/_grafana.html.haml
+4
-7
locale/gitlab.pot
locale/gitlab.pot
+6
-6
No files found.
app/views/admin/application_settings/_grafana.html.haml
View file @
c523be21
=
form_for
@application_setting
,
url:
metrics_and_profiling_admin_application_settings_path
(
anchor:
'js-grafana-settings'
),
html:
{
class:
'fieldset-form'
}
do
|
f
|
=
gitlab_ui_
form_for
@application_setting
,
url:
metrics_and_profiling_admin_application_settings_path
(
anchor:
'js-grafana-settings'
),
html:
{
class:
'fieldset-form'
}
do
|
f
|
=
form_errors
(
@application_setting
)
=
form_errors
(
@application_setting
)
%fieldset
%fieldset
.form-group
.form-group
.form-check
=
f
.
gitlab_ui_checkbox_component
:grafana_enabled
,
=
f
.
check_box
:grafana_enabled
,
class:
'form-check-input'
s_
(
'ApplicationSettings|Add a link to Grafana'
),
=
f
.
label
:grafana_enabled
,
class:
'form-check-label'
do
help_text:
s_
(
'ApplicationSettings|A Metrics Dashboard menu item appears in the Monitoring section of the Admin Area.'
)
=
_
(
"Add a link to Grafana"
)
.form-text.text-muted
=
_
(
"A Metrics Dashboard menu item appears in the Monitoring section of the Admin Area."
)
.form-group
.form-group
=
f
.
label
:grafana_url
,
_
(
'Grafana URL'
),
class:
'label-bold'
=
f
.
label
:grafana_url
,
_
(
'Grafana URL'
),
class:
'label-bold'
=
f
.
text_field
:grafana_url
,
class:
'form-control gl-form-input'
,
placeholder:
'/-/grafana'
=
f
.
text_field
:grafana_url
,
class:
'form-control gl-form-input'
,
placeholder:
'/-/grafana'
...
...
locale/gitlab.pot
View file @
c523be21
...
@@ -1557,9 +1557,6 @@ msgstr ""
...
@@ -1557,9 +1557,6 @@ msgstr ""
msgid "A Let's Encrypt SSL certificate can not be obtained until your domain is verified."
msgid "A Let's Encrypt SSL certificate can not be obtained until your domain is verified."
msgstr ""
msgstr ""
msgid "A Metrics Dashboard menu item appears in the Monitoring section of the Admin Area."
msgstr ""
msgid "A basic page and serverless function that uses AWS Lambda, AWS API Gateway, and GitLab Pages"
msgid "A basic page and serverless function that uses AWS Lambda, AWS API Gateway, and GitLab Pages"
msgstr ""
msgstr ""
...
@@ -2127,9 +2124,6 @@ msgstr ""
...
@@ -2127,9 +2124,6 @@ msgstr ""
msgid "Add a link"
msgid "Add a link"
msgstr ""
msgstr ""
msgid "Add a link to Grafana"
msgstr ""
msgid "Add a new issue"
msgid "Add a new issue"
msgstr ""
msgstr ""
...
@@ -4340,6 +4334,12 @@ msgstr ""
...
@@ -4340,6 +4334,12 @@ msgstr ""
msgid "Application: %{name}"
msgid "Application: %{name}"
msgstr ""
msgstr ""
msgid "ApplicationSettings|A Metrics Dashboard menu item appears in the Monitoring section of the Admin Area."
msgstr ""
msgid "ApplicationSettings|Add a link to Grafana"
msgstr ""
msgid "ApplicationSettings|After sign up text"
msgid "ApplicationSettings|After sign up text"
msgstr ""
msgstr ""
...
...
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