Commit 21b8992e authored by Jake Lear's avatar Jake Lear Committed by Mark Florian

Convert milestone sidebar badges to pajamas

parent afe6d9af
...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment