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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
62e5e7b6
Commit
62e5e7b6
authored
Jan 05, 2022
by
Brett Walker
Committed by
Mark Florian
Jan 06, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use design system badges for project domains
Changelog: other
parent
4407bcd2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
app/views/projects/pages/_list.html.haml
app/views/projects/pages/_list.html.haml
+2
-4
No files found.
app/views/projects/pages/_list.html.haml
View file @
62e5e7b6
...
...
@@ -15,11 +15,9 @@
=
external_link
(
domain
.
url
,
domain
.
url
)
-
if
domain
.
certificate
%div
%span
.badge.badge-gray
=
s_
(
'GitLabPages|Certificate: %{subject}'
)
%
{
subject:
domain
.
pages_domain
.
subject
}
=
gl_badge_tag
(
s_
(
'GitLabPages|Certificate: %{subject}'
)
%
{
subject:
domain
.
pages_domain
.
subject
})
-
if
domain
.
expired?
%span
.badge.badge-danger
=
s_
(
'GitLabPages|Expired'
)
=
gl_badge_tag
s_
(
'GitLabPages|Expired'
),
variant: :danger
%div
=
link_to
s_
(
'GitLabPages|Edit'
),
project_pages_domain_path
(
@project
,
domain
),
class:
"btn gl-button btn-sm btn-grouped btn-confirm btn-inverted"
=
link_to
s_
(
'GitLabPages|Remove'
),
project_pages_domain_path
(
@project
,
domain
),
data:
{
confirm:
s_
(
'GitLabPages|Are you sure?'
)},
method: :delete
,
class:
"btn gl-button btn-danger btn-sm btn-grouped"
...
...
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