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
a489ec15
Commit
a489ec15
authored
Jul 26, 2020
by
Tom Quirk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use gl-badge for 'archived' project badge
Also, fix spacing bug between badge and ci icon
parent
6d40164f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
app/views/shared/projects/_archived.html.haml
app/views/shared/projects/_archived.html.haml
+1
-1
changelogs/unreleased/refresh-archived-badge-style.yml
changelogs/unreleased/refresh-archived-badge-style.yml
+5
-0
ee/app/views/shared/projects/_archived.html.haml
ee/app/views/shared/projects/_archived.html.haml
+2
-2
No files found.
app/views/shared/projects/_archived.html.haml
View file @
a489ec15
-
if
project
.
archived
-
if
project
.
archived
%span
.d-flex.badge
.badge-warning
%span
.d-flex.badge
-pill.gl-badge.badge-warning.gl-ml-3
=
_
(
'archived'
)
=
_
(
'archived'
)
changelogs/unreleased/refresh-archived-badge-style.yml
0 → 100644
View file @
a489ec15
---
title
:
Use new badge style for 'archived' project badge
merge_request
:
38013
author
:
type
:
changed
ee/app/views/shared/projects/_archived.html.haml
View file @
a489ec15
-
if
project
.
marked_for_deletion?
-
if
project
.
marked_for_deletion?
%span
.d-flex.badge
.badge-warning
%span
.d-flex.badge
-pill.gl-badge.badge-warning.gl-ml-3
=
_
(
'pending removal'
)
=
_
(
'pending removal'
)
-
elsif
project
.
archived
-
elsif
project
.
archived
%span
.d-flex.badge
.badge-warning
%span
.d-flex.badge
-pill.gl-badge.badge-warning.gl-ml-3
=
_
(
'archived'
)
=
_
(
'archived'
)
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