diff options
author | Rob Watson <rob@mixlr.com> | 2018-02-25 14:12:27 +0100 |
---|---|---|
committer | Rob Watson <rob@mixlr.com> | 2018-02-28 14:41:01 +0100 |
commit | e9ece462b9dbe5c403f6d3d7043781ce83df3fdc (patch) | |
tree | 130087615bbceb662aa0839e668746392ec3ab0f /app/views | |
parent | f30b47b3876faf9c171522e1e838e41f33f4c6b3 (diff) | |
download | gitlab-ce-e9ece462b9dbe5c403f6d3d7043781ce83df3fdc.tar.gz |
PagesDomain: improve breadcrumbs
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/projects/pages_domains/edit.html.haml | 2 | ||||
-rw-r--r-- | app/views/projects/pages_domains/new.html.haml | 1 | ||||
-rw-r--r-- | app/views/projects/pages_domains/show.html.haml | 3 |
3 files changed, 6 insertions, 0 deletions
diff --git a/app/views/projects/pages_domains/edit.html.haml b/app/views/projects/pages_domains/edit.html.haml index 60e7ecf6984..5645a4604bf 100644 --- a/app/views/projects/pages_domains/edit.html.haml +++ b/app/views/projects/pages_domains/edit.html.haml @@ -1,3 +1,5 @@ +- add_to_breadcrumbs "Pages", project_pages_path(@project) +- breadcrumb_title @domain.domain - page_title @domain.domain %h3.page_title = @domain.domain diff --git a/app/views/projects/pages_domains/new.html.haml b/app/views/projects/pages_domains/new.html.haml index 63a4392e307..5a397c9d3c7 100644 --- a/app/views/projects/pages_domains/new.html.haml +++ b/app/views/projects/pages_domains/new.html.haml @@ -1,3 +1,4 @@ +- add_to_breadcrumbs "Pages", project_pages_path(@project) - page_title 'New Pages Domain' %h3.page_title New Pages Domain diff --git a/app/views/projects/pages_domains/show.html.haml b/app/views/projects/pages_domains/show.html.haml index bcd4e1c4b05..ba0713daee9 100644 --- a/app/views/projects/pages_domains/show.html.haml +++ b/app/views/projects/pages_domains/show.html.haml @@ -1,4 +1,7 @@ +- add_to_breadcrumbs "Pages", project_pages_path(@project) +- breadcrumb_title @domain.domain - page_title "#{@domain.domain}", 'Pages Domains' + - verification_enabled = Gitlab::CurrentSettings.pages_domain_verification_enabled? - if verification_enabled && @domain.unverified? %p.alert.alert-warning |