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
5209689d
Commit
5209689d
authored
Feb 07, 2018
by
Pawel Chojnacki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid unless/else
parent
8cb105cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
app/views/projects/services/prometheus/_help.html.haml
app/views/projects/services/prometheus/_help.html.haml
+4
-4
No files found.
app/views/projects/services/prometheus/_help.html.haml
View file @
5209689d
%h4
%h4
=
s_
(
'PrometheusService|Auto configuration'
)
=
s_
(
'PrometheusService|Auto configuration'
)
-
unless
@service
.
manual_configuration?
-
if
@service
.
manual_configuration?
.well
=
s_
(
'PrometheusService|To enable the installation of Prometheus on your clusters, deactivate the manual configuration below'
)
-
else
.container-fluid
.container-fluid
.row
.row
-
if
@service
.
prometheus_installed?
-
if
@service
.
prometheus_installed?
...
@@ -19,9 +22,6 @@
...
@@ -19,9 +22,6 @@
%p
.prepend-top-default
%p
.prepend-top-default
=
s_
(
'PrometheusService|Automatically deploy and configure Prometheus on your clusters to monitor your project’s environments'
)
=
s_
(
'PrometheusService|Automatically deploy and configure Prometheus on your clusters to monitor your project’s environments'
)
=
link_to
s_
(
'PrometheusService|Install Prometheus on clusters'
),
project_clusters_path
(
@project
),
class:
'btn btn-success'
=
link_to
s_
(
'PrometheusService|Install Prometheus on clusters'
),
project_clusters_path
(
@project
),
class:
'btn btn-success'
-
else
.well
=
s_
(
'PrometheusService|To enable the installation of Prometheus on your clusters, deactivate the manual configuration below'
)
%hr
%hr
...
...
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