diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-03-18 15:31:02 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-03-18 15:31:10 +0100 |
commit | 777989e5411f35904c8cec21c9cc8fc6d26798ea (patch) | |
tree | 1841ec675970ee408e2f69229e43e4ce2b4e0f05 /plugins | |
parent | c005313b3dd0dddff09bcb057ec9c90f981f8157 (diff) | |
download | sonarqube-777989e5411f35904c8cec21c9cc8fc6d26798ea.tar.gz sonarqube-777989e5411f35904c8cec21c9cc8fc6d26798ea.zip |
SONAR-6234 apply feedback
Diffstat (limited to 'plugins')
2 files changed, 2 insertions, 14 deletions
diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/issues/issue_filter.html.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/issues/issue_filter.html.erb index 0836a22ad9d..8115a0681dc 100644 --- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/issues/issue_filter.html.erb +++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/issues/issue_filter.html.erb @@ -6,7 +6,6 @@ %> <% if filter %> - <% if Internal.issues.isUserAuthorized(filter) %> <% @widget_title = "<a href=\"#{url_for({:controller => 'issues', :action => 'index'})}#id=#{filter.id}\">#{h(filter.name)}</a>" %> <% if widget_properties['displayFilterDescription'] && !filter.description.blank? %> @@ -26,13 +25,8 @@ }); </script> - <% else %> - - <p class="message-alert"><%= message 'widget.issue_filter.insufficient_privileges_warning' -%></p> - - <% end %> <% else %> - <p class="message-alert"><%= message 'widget.issue_filter.unknown_filter_warning' -%></p> + <p class="alert alert-warning"><%= message 'widget.issue_filter.unknown_filter_warning' -%></p> <% end %> diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/issues/project_issue_filter.html.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/issues/project_issue_filter.html.erb index c68f07565ce..e901d6f0cfa 100644 --- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/issues/project_issue_filter.html.erb +++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/issues/project_issue_filter.html.erb @@ -12,7 +12,6 @@ %> <% if filter %> - <% if Internal.issues.isUserAuthorized(filter) %> <% @widget_title = "<a href=\"#{url_for({:controller => 'component_issues', :action => 'index'})}?id=#{u(@project.key)}##{filter.data}\">#{h(filter.name)}</a>" %> <% if widget_properties['displayFilterDescription'] && !filter.description.blank? %> @@ -37,13 +36,8 @@ }); </script> - <% else %> - - <p class="message-alert"><%= message 'widget.issue_filter.insufficient_privileges_warning' -%></p> - - <% end %> <% else %> - <p class="message-alert"><%= message 'widget.issue_filter.unknown_filter_warning' -%></p> + <p class="alert alert-warning"><%= message 'widget.issue_filter.unknown_filter_warning' -%></p> <% end %> |