[#783] Removing link to new issue when missing permissions
This commit is contained in:
parent
81f6635878
commit
69ccbafaf4
|
@ -1,5 +1,5 @@
|
|||
<% 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 %>
|
||||
|
|
Loading…
Reference in New Issue