summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorLuke "Jared" Bennett <lbennett@gitlab.com>2017-04-28 13:29:47 +0100
committerLuke "Jared" Bennett <lbennett@gitlab.com>2017-04-28 13:29:47 +0100
commit77d924057bcaaf92b641596a98bfe89bcd1243f1 (patch)
tree7a4e6a64039092b4c474e616bece2dbf33a03155 /app/views
parent61046e75d8e6f660e55f4f7b5a76238611a0f48f (diff)
downloadgitlab-ce-77d924057bcaaf92b641596a98bfe89bcd1243f1.tar.gz
add issues and merge-requests classes and use to find in rspecfix-sidebar-block-ref-test
Diffstat (limited to 'app/views')
-rw-r--r--app/views/shared/milestones/_sidebar.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/shared/milestones/_sidebar.html.haml b/app/views/shared/milestones/_sidebar.html.haml
index 774d20fb5ba..5e8a2a0f5d8 100644
--- a/app/views/shared/milestones/_sidebar.html.haml
+++ b/app/views/shared/milestones/_sidebar.html.haml
@@ -64,7 +64,7 @@
%span.remaining-days= remaining_days
- if !project || can?(current_user, :read_issue, project)
- .block
+ .block.issues
.sidebar-collapsed-icon
%strong
= icon('hashtag', 'aria-hidden': 'true')
@@ -85,7 +85,7 @@
Closed:
= milestone.issues_visible_to_user(current_user).closed.count
- .block
+ .block.merge-requests
.sidebar-collapsed-icon
%strong
= icon('exclamation', 'aria-hidden': 'true')