Commit fb17234b055377c95ffe1478df3d8375a1080d5a
1 parent
9803e088
Exists in
master
and in
4 other branches
separated buttons for sidebar
Showing
1 changed file
with
10 additions
and
6 deletions
Show diff stats
app/views/widgets/_project_member.html.haml
| ... | ... | @@ -10,20 +10,24 @@ |
| 10 | 10 | |
| 11 | 11 | %p |
| 12 | 12 | - if @project.issues_enabled |
| 13 | - Assigned issues: | |
| 14 | - = current_user.assigned_issues.opened.count | |
| 13 | + %span | |
| 14 | + Assigned issues: | |
| 15 | + = current_user.assigned_issues.opened.count | |
| 15 | 16 | %br |
| 16 | 17 | - if @project.merge_requests_enabled |
| 17 | - Assigned merge request: | |
| 18 | - = current_user.assigned_merge_requests.opened.count | |
| 18 | + %span | |
| 19 | + Assigned merge request: | |
| 20 | + = current_user.assigned_merge_requests.opened.count | |
| 19 | 21 | %br |
| 20 | - Your merge requests: | |
| 21 | - = current_user.assigned_merge_requests.opened.count | |
| 22 | + %span | |
| 23 | + Your merge requests: | |
| 24 | + = current_user.assigned_merge_requests.opened.count | |
| 22 | 25 | %br |
| 23 | 26 | %br |
| 24 | 27 | - if @project.merge_requests_enabled |
| 25 | 28 | = link_to new_project_merge_request_path(@project), :title => "New Merge Request", :class => "btn small" do |
| 26 | 29 | Merge Request |
| 30 | + | |
| 27 | 31 | - if @project.issues_enabled |
| 28 | 32 | = link_to new_project_issue_path(@project), :title => "New Issue", :class => "btn small" do |
| 29 | 33 | Issue | ... | ... |