Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
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
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
0 deletions
+6
-0
app/views/projects/pages_domains/edit.html.haml
app/views/projects/pages_domains/edit.html.haml
+2
-0
app/views/projects/pages_domains/new.html.haml
app/views/projects/pages_domains/new.html.haml
+1
-0
app/views/projects/pages_domains/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