diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-06-20 14:25:13 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-06-20 14:37:08 +0200 |
commit | 4724663d3f743928d171f9743779d9161e2250ed (patch) | |
tree | 8954eca776bfc73ca5b83feba43f74ec10a26cbf /plugins | |
parent | 865f4ba0b8d9431955bf52b94bdc605e3c8ccb57 (diff) | |
download | sonarqube-4724663d3f743928d171f9743779d9161e2250ed.tar.gz sonarqube-4724663d3f743928d171f9743779d9161e2250ed.zip |
SONAR-5007 do not display the profile version in the widget "description"
The concept of profile version was dropped.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/description.html.erb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/description.html.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/description.html.erb index 646b9e08a92..20b6dad36b8 100644 --- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/description.html.erb +++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/description.html.erb @@ -30,15 +30,14 @@ </p> <% else - profile_measure=@snapshot.measure(Metric::PROFILE) + profile_measure=@snapshot.measure('profile') if profile_measure %> <p class="description-widget-description"> <%= message('widget.description.profile') -%>: <span id="resource_profile"> - <%= link_to profile_measure.data, {:controller => '/profiles', :action => 'show', :id => profile_measure.value.to_i}, :class => 'widget-link', :id => 'profile_link' -%> + <%= link_to profile_measure.data, {:controller => 'profiles', :action => 'show', :id => profile_measure.value.to_i}, :class => 'widget-link', :id => 'profile_link' -%> </span> - <span class="subtitle">(<%= message('widget.description.profile_version_x', :params => format_measure('profile_version', :default => '1')) -%>)</span> </p> <% end end %> |