separated buttons for sidebar
This commit is contained in:
parent
9803e0885e
commit
fb17234b05
1 changed files with 10 additions and 6 deletions
|
@ -10,13 +10,16 @@
|
||||||
|
|
||||||
%p
|
%p
|
||||||
- if @project.issues_enabled
|
- if @project.issues_enabled
|
||||||
|
%span
|
||||||
Assigned issues:
|
Assigned issues:
|
||||||
= current_user.assigned_issues.opened.count
|
= current_user.assigned_issues.opened.count
|
||||||
%br
|
%br
|
||||||
- if @project.merge_requests_enabled
|
- if @project.merge_requests_enabled
|
||||||
|
%span
|
||||||
Assigned merge request:
|
Assigned merge request:
|
||||||
= current_user.assigned_merge_requests.opened.count
|
= current_user.assigned_merge_requests.opened.count
|
||||||
%br
|
%br
|
||||||
|
%span
|
||||||
Your merge requests:
|
Your merge requests:
|
||||||
= current_user.assigned_merge_requests.opened.count
|
= current_user.assigned_merge_requests.opened.count
|
||||||
%br
|
%br
|
||||||
|
@ -24,6 +27,7 @@
|
||||||
- if @project.merge_requests_enabled
|
- if @project.merge_requests_enabled
|
||||||
= link_to new_project_merge_request_path(@project), :title => "New Merge Request", :class => "btn small" do
|
= link_to new_project_merge_request_path(@project), :title => "New Merge Request", :class => "btn small" do
|
||||||
Merge Request
|
Merge Request
|
||||||
|
|
||||||
- if @project.issues_enabled
|
- if @project.issues_enabled
|
||||||
= link_to new_project_issue_path(@project), :title => "New Issue", :class => "btn small" do
|
= link_to new_project_issue_path(@project), :title => "New Issue", :class => "btn small" do
|
||||||
Issue
|
Issue
|
||||||
|
|
Loading…
Add table
Reference in a new issue