Commit d61a21d2d77808977fc7d1ea96a5f123719b8b7d
1 parent
f64717f1
Exists in
master
and in
4 other branches
new issue link from issue show page
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
app/views/issues/show.html.haml
... | ... | @@ -6,6 +6,9 @@ |
6 | 6 | = @issue.created_at.stamp("Aug 21, 2011") |
7 | 7 | |
8 | 8 | %span.pull-right |
9 | + = link_to new_project_issue_path(@project), class: "btn grouped", title: "New Issue", id: "new_issue_link" do | |
10 | + %i.icon-plus | |
11 | + New Issue | |
9 | 12 | - if can?(current_user, :modify_issue, @issue) |
10 | 13 | - if @issue.closed? |
11 | 14 | = link_to 'Reopen', project_issue_path(@project, @issue, issue: {state_event: :reopen }, status_only: true), method: :put, class: "btn grouped reopen_issue" | ... | ... |