Skip to content
Snippets Groups Projects
Commit 3cccbf8a authored by rmp's avatar rmp
Browse files

Possibility to open a new issue form after viewing another one.

While looking at an issue you no longer need to go back to the issue list for creating the next one.
parent 2e7e6e6e
No related branches found
No related tags found
2 merge requests!104094 0 stable,!2524Improve usability and quit spamming
Loading
Loading
@@ -6,6 +6,10 @@
= @issue.created_at.stamp("Aug 21, 2011")
 
%span.right
- if can? current_user, :write_issue, @project
= link_to new_project_issue_path(@project, issue: { assignee_id: params[:assignee_id], milestone_id: params[:milestone_id]}), class: "btn grouped" do
%i.icon-plus
New Issue
- if can?(current_user, :admin_project, @project) || @issue.author == current_user
- if @issue.closed
= link_to 'Reopen', project_issue_path(@project, @issue, issue: {closed: false }, status_only: true), method: :put, class: "btn grouped reopen_issue"
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment