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
21b8992e
Commit
21b8992e
authored
Dec 10, 2021
by
Jake Lear
Committed by
Mark Florian
Dec 10, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Convert milestone sidebar badges to pajamas
parent
afe6d9af
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app/views/shared/milestones/_sidebar.html.haml
app/views/shared/milestones/_sidebar.html.haml
+2
-2
No files found.
app/views/shared/milestones/_sidebar.html.haml
View file @
21b8992e
...
@@ -79,7 +79,7 @@
...
@@ -79,7 +79,7 @@
%span
=
milestone
.
issues_visible_to_user
(
current_user
).
count
%span
=
milestone
.
issues_visible_to_user
(
current_user
).
count
.title.hide-collapsed
.title.hide-collapsed
=
s_
(
'MilestoneSidebar|Issues'
)
=
s_
(
'MilestoneSidebar|Issues'
)
%span
.badge.badge-muted.badge-pill.gl-badge.sm
=
milestone
.
issues_visible_to_user
(
current_user
).
count
=
gl_badge_tag
milestone
.
issues_visible_to_user
(
current_user
).
count
,
variant: :muted
,
size: :sm
-
if
show_new_issue_link?
(
project
)
-
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
=
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'
)
=
s_
(
'MilestoneSidebar|New issue'
)
...
@@ -111,7 +111,7 @@
...
@@ -111,7 +111,7 @@
%span
=
milestone
.
merge_requests
.
count
%span
=
milestone
.
merge_requests
.
count
.title.hide-collapsed
.title.hide-collapsed
=
s_
(
'MilestoneSidebar|Merge requests'
)
=
s_
(
'MilestoneSidebar|Merge requests'
)
%span
.badge.badge-muted.badge-pill.gl-badge.sm
=
milestone
.
merge_requests
.
count
=
gl_badge_tag
milestone
.
merge_requests
.
count
,
variant: :muted
,
size: :sm
.value.hide-collapsed.bold
.value.hide-collapsed.bold
-
if
!
project
||
can?
(
current_user
,
:read_merge_request
,
project
)
-
if
!
project
||
can?
(
current_user
,
:read_merge_request
,
project
)
%span
.milestone-stat
%span
.milestone-stat
...
...
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