Skip to content
Snippets Groups Projects
Commit 69ccbafa authored by Gregor Schmidt's avatar Gregor Schmidt
Browse files

[#783] Removing link to new issue when missing permissions

parent 81f66358
Tags
No related merge requests found
<% if @project %>
<div class="new-issue button-large">
<%= link_to(l(:label_issue_new), {:controller => 'issues', :action => 'new', :project_id => @project}, :title => l(:label_issue_new), :class => '') %>
<%= link_to_if_authorized(l(:label_issue_new), {:controller => 'issues', :action => 'new', :project_id => @project}, :title => l(:label_issue_new), :class => '') %>
</div>
<% end %>
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