def projects
# for backward-compatibility with versions of views plugin that do not depend on sonar 3.0
if java_facade.hasPlugin('views')
- @qualifiers = (['VW', 'SVW'] + java_facade.getQualifiersWithProperty('hasRolePolicy').to_a).compact.uniq
+ @qualifiers = (['VW'] + java_facade.getQualifiersWithProperty('hasRolePolicy').to_a).compact.uniq
else
@qualifiers = java_facade.getQualifiersWithProperty('hasRolePolicy')
end
<li><a href="<%= ApplicationController.root_context -%>/project/links/<%= @project.id -%>"><%= message('project_links.page') -%></a></li>
<% end %>
<%
- # NOTE: we keep "@project.view? || @project.subview?" in the test for backward compatibility with the Views plugin
- if (is_admin && controller.java_facade.getResourceTypeBooleanProperty(@project.qualifier, 'hasRolePolicy') || @project.view? || @project.subview?)
+ # NOTE: we keep "@project.view?" in the test for backward compatibility with the Views plugin
+ if (is_admin && controller.java_facade.getResourceTypeBooleanProperty(@project.qualifier, 'hasRolePolicy') || @project.view?)
%>
<li><a href="<%= ApplicationController.root_context -%>/project_roles/index/<%= @project.id -%>"><%= message('roles.page') -%></a></li>
<% end %>
<%
- # NOTE: we keep "@project.view? || @project.subview?" in the test for backward compatibility with the Views plugin
+ # NOTE: we keep "@project.view?" in the test for backward compatibility with the Views plugin
if (is_admin && controller.java_facade.getResourceTypeBooleanProperty(@project.qualifier, 'modifiable_history') || @project.view?)
%>
<li><a href="<%= ApplicationController.root_context -%>/project/history/<%= @project.id -%>"><%= message('project_history.page') -%></a></li>