summaryrefslogtreecommitdiff
path: root/app/views/layouts
diff options
context:
space:
mode:
authorAnnabel Dunstone <annabel.dunstone@gmail.com>2016-05-03 11:44:55 -0500
committerAnnabel Dunstone <annabel.dunstone@gmail.com>2016-05-03 12:36:04 -0500
commitf53557a4faa02c4596d16819c4b5c7783829677a (patch)
tree7f40066d0fad24ea0d8092842f733252959a98af /app/views/layouts
parentbdda1eeddeb8a49484d221ae7217a9983bf984c4 (diff)
downloadgitlab-ce-f53557a4faa02c4596d16819c4b5c7783829677a.tar.gz
Group navigation design update
Diffstat (limited to 'app/views/layouts')
-rw-r--r--app/views/layouts/nav/_group.html.haml6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/views/layouts/nav/_group.html.haml b/app/views/layouts/nav/_group.html.haml
index 0971bccfcd4..705682aeb29 100644
--- a/app/views/layouts/nav/_group.html.haml
+++ b/app/views/layouts/nav/_group.html.haml
@@ -44,14 +44,16 @@
%span
Issues
- issues = IssuesFinder.new(current_user, group_id: @group.id, state: 'opened').execute
- %span.badge.count= number_with_delimiter(issues.count)
+ %span.count
+ (#{number_with_delimiter(issues.count)})
= nav_link(path: 'groups#merge_requests') do
= link_to merge_requests_group_path(@group), title: 'Merge Requests' do
= icon('tasks fw')
%span
Merge Requests
- merge_requests = MergeRequestsFinder.new(current_user, group_id: @group.id, state: 'opened').execute
- %span.badge.count= number_with_delimiter(merge_requests.count)
+ %span.count
+ (#{number_with_delimiter(merge_requests.count)})
= nav_link(controller: [:group_members]) do
= link_to group_group_members_path(@group), title: 'Members' do
= icon('users fw')