BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
e9ece462
Commit
e9ece462
authored
Feb 25, 2018
by
Rob Watson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PagesDomain: improve breadcrumbs
parent
f30b47b3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
0 deletions
+6
-0
edit.html.haml
app/views/projects/pages_domains/edit.html.haml
+2
-0
new.html.haml
app/views/projects/pages_domains/new.html.haml
+1
-0
show.html.haml
app/views/projects/pages_domains/show.html.haml
+3
-0
No files found.
app/views/projects/pages_domains/edit.html.haml
View file @
e9ece462
-
add_to_breadcrumbs
"Pages"
,
project_pages_path
(
@project
)
-
breadcrumb_title
@domain
.
domain
-
page_title
@domain
.
domain
-
page_title
@domain
.
domain
%h3
.page_title
%h3
.page_title
=
@domain
.
domain
=
@domain
.
domain
...
...
app/views/projects/pages_domains/new.html.haml
View file @
e9ece462
-
add_to_breadcrumbs
"Pages"
,
project_pages_path
(
@project
)
-
page_title
'New Pages Domain'
-
page_title
'New Pages Domain'
%h3
.page_title
%h3
.page_title
New Pages Domain
New Pages Domain
...
...
app/views/projects/pages_domains/show.html.haml
View file @
e9ece462
-
add_to_breadcrumbs
"Pages"
,
project_pages_path
(
@project
)
-
breadcrumb_title
@domain
.
domain
-
page_title
"
#{
@domain
.
domain
}
"
,
'Pages Domains'
-
page_title
"
#{
@domain
.
domain
}
"
,
'Pages Domains'
-
verification_enabled
=
Gitlab
::
CurrentSettings
.
pages_domain_verification_enabled?
-
verification_enabled
=
Gitlab
::
CurrentSettings
.
pages_domain_verification_enabled?
-
if
verification_enabled
&&
@domain
.
unverified?
-
if
verification_enabled
&&
@domain
.
unverified?
%p
.alert.alert-warning
%p
.alert.alert-warning
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment