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
425b97c7
Commit
425b97c7
authored
Apr 21, 2021
by
Yogi
Committed by
Olena Horal-Koretska
Apr 21, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add gl-badge for badges in milestone drawer
parent
9d9b902a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
app/views/shared/milestones/_sidebar.html.haml
app/views/shared/milestones/_sidebar.html.haml
+2
-2
changelogs/unreleased/gl-badge-milestone-sidebar.yml
changelogs/unreleased/gl-badge-milestone-sidebar.yml
+5
-0
No files found.
app/views/shared/milestones/_sidebar.html.haml
View file @
425b97c7
...
...
@@ -79,7 +79,7 @@
%span
=
milestone
.
issues_visible_to_user
(
current_user
).
count
.title.hide-collapsed
=
s_
(
'MilestoneSidebar|Issues'
)
%span
.badge.badge-
pill
=
milestone
.
issues_visible_to_user
(
current_user
).
count
%span
.badge.badge-
muted.badge-pill.gl-badge.sm
=
milestone
.
issues_visible_to_user
(
current_user
).
count
-
if
show_new_issue_link?
(
project
)
=
link_to
new_project_issue_path
(
project
,
issue:
{
milestone_id:
milestone
.
id
}),
class:
"float-right"
,
title:
s_
(
'MilestoneSidebar|New Issue'
)
do
=
s_
(
'MilestoneSidebar|New issue'
)
...
...
@@ -110,7 +110,7 @@
%span
=
milestone
.
merge_requests
.
count
.title.hide-collapsed
=
s_
(
'MilestoneSidebar|Merge requests'
)
%span
.badge.badge-
pill
=
milestone
.
merge_requests
.
count
%span
.badge.badge-
muted.badge-pill.gl-badge.sm
=
milestone
.
merge_requests
.
count
.value.hide-collapsed.bold
-
if
!
project
||
can?
(
current_user
,
:read_merge_request
,
project
)
%span
.milestone-stat
...
...
changelogs/unreleased/gl-badge-milestone-sidebar.yml
0 → 100644
View file @
425b97c7
---
title
:
Add gl-badge for badges in milestone drawer
merge_request
:
57964
author
:
Yogi (@yo)
type
:
changed
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