summaryrefslogtreecommitdiff
path: root/app/views/admin/dashboard
diff options
context:
space:
mode:
authorMark Fletcher <mark@gitlab.com>2017-05-01 12:08:25 +0800
committerMark Fletcher <mark@gitlab.com>2017-05-01 12:08:25 +0800
commitd3d3767bf1da9acd22e8013de679efc3b633493d (patch)
treead36459358f9e2007f39d7aa00efb3ff4117ad7b /app/views/admin/dashboard
parent03f13af588cf2b578a27717db492c216fcafbf9a (diff)
downloadgitlab-ce-d3d3767bf1da9acd22e8013de679efc3b633493d.tar.gz
Display GitLab Pages status in Admin Dashboard
Diffstat (limited to 'app/views/admin/dashboard')
-rw-r--r--app/views/admin/dashboard/index.html.haml6
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