Provide links from Group issues, mr pages to corresponding Dashboard pages

This commit is contained in:
Dmitriy Zaporozhets 2013-08-15 13:13:22 +03:00
parent 86584aa89f
commit 12d55ba6cc
2 changed files with 12 additions and 5 deletions

View File

@ -1,9 +1,13 @@
%h3.page-title
Issues
%small (assigned to you)
%small.pull-right #{@issues.total_count} issues
Issues assigned to me
%span.pull-right #{@issues.total_count} issues
%p.light
Only issues from
%strong #{@group.name}
group are listed here. To see all issues you should visit #{link_to 'dashboard', issues_dashboard_path} page.
%hr
.row
.span3
= render 'shared/filter', entity: 'issue'

View File

@ -1,8 +1,11 @@
%h3.page-title
Merge Requests
%small (authored by or assigned to you)
%small.pull-right #{@merge_requests.total_count} merge requests
%span.pull-right #{@merge_requests.total_count} merge requests
%p.light
Authored or assigned to you from
%strong #{@group.name}
group. To see all merge requests you should visit #{link_to 'dashboard', merge_requests_dashboard_path} page.
%hr
.row
.span3