From 79868ed9371cb73a0958ca91cfaabf0458fdc33b Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Tue, 13 Aug 2013 11:58:38 +0200 Subject: [PATCH] SONAR-4187 Remove the hack which leads do display the 'History' page on views even if the property 'modifiable_history' is not defined on views --- .../app/views/layouts/_menu_resource_settings.html.erb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_menu_resource_settings.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_menu_resource_settings.html.erb index cbf2e5c899b..d6362174d1b 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_menu_resource_settings.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_menu_resource_settings.html.erb @@ -25,10 +25,7 @@ %>
  • <%= message('roles.page') -%>
  • <% end %> - <% - # 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?) - %> + <% if is_admin && controller.java_facade.getResourceTypeBooleanProperty(@project.qualifier, 'modifiable_history') %>
  • <%= message('project_history.page') -%>
  • <% end %> <% if is_admin && controller.java_facade.getResourceTypeBooleanProperty(@project.qualifier, 'updatable_key') %> -- 2.39.5