Commit fb17234b authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

separated buttons for sidebar

parent 9803e088
...@@ -10,20 +10,24 @@ ...@@ -10,20 +10,24 @@
%p %p
- if @project.issues_enabled - if @project.issues_enabled
Assigned issues: %span
= current_user.assigned_issues.opened.count Assigned issues:
= current_user.assigned_issues.opened.count
%br %br
- if @project.merge_requests_enabled - if @project.merge_requests_enabled
Assigned merge request: %span
= current_user.assigned_merge_requests.opened.count Assigned merge request:
= current_user.assigned_merge_requests.opened.count
%br %br
Your merge requests: %span
= current_user.assigned_merge_requests.opened.count Your merge requests:
= current_user.assigned_merge_requests.opened.count
%br %br
%br %br
- 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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment