diff options
author | Julien Lancelot <julien.lancelot@gmail.com> | 2013-08-13 11:58:38 +0200 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@gmail.com> | 2013-08-13 11:58:38 +0200 |
commit | 79868ed9371cb73a0958ca91cfaabf0458fdc33b (patch) | |
tree | 4b6b44be895a44e3b003472f4d4995ff40ed18bd /sonar-server | |
parent | f857f5589f3bf8503ae3d8f000ae59c52a66f5fd (diff) | |
download | sonarqube-79868ed9371cb73a0958ca91cfaabf0458fdc33b.tar.gz sonarqube-79868ed9371cb73a0958ca91cfaabf0458fdc33b.zip |
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
Diffstat (limited to 'sonar-server')
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_menu_resource_settings.html.erb | 5 |
1 files changed, 1 insertions, 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 @@ %> <li><a href="<%= ApplicationController.root_context -%>/project_roles/index/<%= @project.id -%>"><%= message('roles.page') -%></a></li> <% 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') %> <li><a href="<%= ApplicationController.root_context -%>/project/history/<%= @project.id -%>"><%= message('project_history.page') -%></a></li> <% end %> <% if is_admin && controller.java_facade.getResourceTypeBooleanProperty(@project.qualifier, 'updatable_key') %> |