summaryrefslogtreecommitdiff
path: root/app/views/ci
diff options
context:
space:
mode:
authorMayra Cabrera <mcabrera@gitlab.com>2018-03-14 09:40:09 -0600
committerMayra Cabrera <mcabrera@gitlab.com>2018-03-26 17:03:12 -0600
commit5ad7378fc7ed27bad7bd7fe33ac39754119ed6a5 (patch)
tree60aa53aabac0ddd4b823d966bb239f4128db8a2b /app/views/ci
parent02bc89983a4b4b81a2f6279c39622b8a14430e3d (diff)
downloadgitlab-ce-5ad7378fc7ed27bad7bd7fe33ac39754119ed6a5.tar.gz
Change ci/lint page to use a template structure
- Removes duplicated CSS - Includes translations for strings
Diffstat (limited to 'app/views/ci')
-rw-r--r--app/views/ci/lints/show.html.haml14
1 files changed, 9 insertions, 5 deletions
diff --git a/app/views/ci/lints/show.html.haml b/app/views/ci/lints/show.html.haml
index ffd44c2af8d..2cca0e37314 100644
--- a/app/views/ci/lints/show.html.haml
+++ b/app/views/ci/lints/show.html.haml
@@ -1,5 +1,9 @@
-.ci-linter-container
- .ci-linter-inner
- = image_tag 'illustrations/feature_moved.svg'
- %h3 GitLab CI Linter has been moved
- %p.ci-linter-description To validate your GitLab CI configurations, go to 'CI/CD → Pipelines' inside your project, and click on the 'CI Lint' button.
+.row.empty-state
+ .col-xs-12
+ .svg-content
+ = image_tag 'illustrations/feature_moved.svg'
+ .col-xs-12
+ .text-content.text-center
+ %h4= _("GitLab CI Linter has been moved")
+ %p.ci-linter-description
+ = _("To validate your GitLab CI configurations, go to 'CI/CD → Pipelines' inside your project, and click on the 'CI Lint' button.")