summaryrefslogtreecommitdiff
path: root/app/views/projects/pages/show.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/pages/show.html.haml')
-rw-r--r--app/views/projects/pages/show.html.haml38
1 files changed, 21 insertions, 17 deletions
diff --git a/app/views/projects/pages/show.html.haml b/app/views/projects/pages/show.html.haml
index 5f689800da8..98c4e890968 100644
--- a/app/views/projects/pages/show.html.haml
+++ b/app/views/projects/pages/show.html.haml
@@ -1,18 +1,22 @@
-- page_title "Pages"
-%h3.page_title Pages
-%p.light
- With GitLab Pages you can host for free your static websites on GitLab.
- Combined with the power of GitLab CI and the help of GitLab Runner
- you can deploy static pages for your individual projects, your user or your group.
-%hr
+- page_title "#{@domain.domain}", "Pages Domain"
-- if Settings.pages.enabled
- = render 'access'
- = render 'use'
- - if @project.pages_url
- = render 'form'
- = render 'upload_certificate'
- = render 'remove_certificate'
- = render 'destroy'
-- else
- = render 'disabled'
+%h3.page-title
+ #{@domain.domain}
+
+.table-holder
+ %table.table
+ %tr
+ %td
+ Domain
+ %td
+ = link_to @domain.domain, @domain.url
+ %tr
+ %td
+ Certificate
+ %td
+ - if @domain.certificate
+ %pre
+ = @domain.certificate.to_text
+ - else
+ .light
+ missing