mirror of
https://github.com/meineerde/redmine.git
synced 2025-10-17 17:01:01 +00:00
Update condition to check for @view_issues@ permission (#39995).
Patch by Holger Just (@hjust). git-svn-id: https://svn.redmine.org/redmine/trunk@22745 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
127331d58f
commit
d757b4aea7
@ -20,7 +20,7 @@
|
||||
<%= check_box_tag "completed", 1, params[:completed] %> <%= l(:label_show_completed_versions) %>
|
||||
</label>
|
||||
</li>
|
||||
<% if @project.descendants.visible.any? %>
|
||||
<% if @project.descendants.allowed_to(:view_issues).any? %>
|
||||
<li>
|
||||
<%= hidden_field_tag 'with_subprojects', 0, :id => nil %>
|
||||
<label>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user