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
5f9a9b26
Commit
5f9a9b26
authored
Dec 10, 2021
by
John Hope
Committed by
Mark Florian
Dec 10, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use rails helper for project_badges
parent
fc143e65
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
app/views/groups/_project_badges.html.haml
app/views/groups/_project_badges.html.haml
+1
-1
ee/app/views/groups/_project_badges.html.haml
ee/app/views/groups/_project_badges.html.haml
+2
-2
No files found.
app/views/groups/_project_badges.html.haml
View file @
5f9a9b26
-
if
project
.
archived
%span
.badge.badge-warning.badge-pill.gl-badge.md
=
_
(
'archived'
)
=
gl_badge_tag
_
(
'archived'
),
variant: :warning
,
size: :md
ee/app/views/groups/_project_badges.html.haml
View file @
5f9a9b26
-
if
project
.
marked_for_deletion?
%span
.badge.badge-warning.badge-pill.gl-badge.md
=
_
(
'pending deletion'
)
=
gl_badge_tag
_
(
'pending deletion'
),
variant: :warning
,
size: :md
-
elsif
project
.
archived
%span
.badge.badge-warning.badge-pill.gl-badge.md
=
_
(
'archived'
)
=
gl_badge_tag
_
(
'archived'
),
variant: :warning
,
size: :md
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