diff options
author | Mark Fletcher <mark@gitlab.com> | 2017-05-01 07:08:25 +0300 |
---|---|---|
committer | Mark Fletcher <mark@gitlab.com> | 2017-05-01 07:08:25 +0300 |
commit | d3d3767bf1da9acd22e8013de679efc3b633493d (patch) | |
tree | ad36459358f9e2007f39d7aa00efb3ff4117ad7b /app/views/admin/dashboard | |
parent | 03f13af588cf2b578a27717db492c216fcafbf9a (diff) |
Display GitLab Pages status in Admin Dashboard
Diffstat (limited to 'app/views/admin/dashboard')
-rw-r--r-- | app/views/admin/dashboard/index.html.haml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/admin/dashboard/index.html.haml b/app/views/admin/dashboard/index.html.haml index 8c9fdc9ae42..53f0a1e7fde 100644 --- a/app/views/admin/dashboard/index.html.haml +++ b/app/views/admin/dashboard/index.html.haml @@ -73,6 +73,12 @@ = container_reg %span.light.pull-right = boolean_to_icon Gitlab.config.registry.enabled + - gitlab_pages = 'GitLab Pages' + - gitlab_pages_enabled = Gitlab.config.pages.enabled + %p{ "aria-label" => "#{gitlab_pages}: status " + (gitlab_pages_enabled ? "on" : "off") } + = gitlab_pages + %span.light.pull-right + = boolean_to_icon gitlab_pages_enabled .col-md-4 %h4 |