summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorSean McGivern <sean@mcgivern.me.uk>2017-04-28 14:03:16 +0000
committerSean McGivern <sean@mcgivern.me.uk>2017-04-28 14:03:16 +0000
commite57545351b22f7d31839c4fc2f4bb760ef0e75a4 (patch)
tree423939943896825a3ce6e01cbc08a0ecb6cf7cf2 /app
parentafaa99f4745f837c08bb5ee6e5386558e4ca8d37 (diff)
parent77d924057bcaaf92b641596a98bfe89bcd1243f1 (diff)
downloadgitlab-ce-e57545351b22f7d31839c4fc2f4bb760ef0e75a4.tar.gz
Merge branch 'fix-sidebar-block-ref-test' into 'master'
add issues and merge-requests classes and use to find in rspec See merge request !10980
Diffstat (limited to 'app')
-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')