aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorEvgeny Mandrikov <mandrikov@gmail.com>2011-06-01 00:01:05 +0400
committerEvgeny Mandrikov <mandrikov@gmail.com>2011-06-01 19:31:28 +0400
commit94c39df6941f641936159e3d3bed0d2bd6120c07 (patch)
tree83252f316744ae3ecdee60b008141b47be680c00 /plugins
parentb41cf6f330551a3ffc247249fdfda45a095fb46c (diff)
downloadsonarqube-94c39df6941f641936159e3d3bed0d2bd6120c07.tar.gz
sonarqube-94c39df6941f641936159e3d3bed0d2bd6120c07.zip
SONAR-1922 Improve UI for profile changelog
* Removed useless version column from Quality Profiles page. * To improve readability - version of profile displayed in a dedicated column on Changelog page, otherwise it can be difficult to determine version associated to a row. * Allowed to select both versions to compare. * CSS attribute "word-wrap" was set to "break-word" to decrease width of table, when parameter value too huge. Tested in Chromimum 12.0.742.68 and in Firefox 3.6.17. * Version of profile was added to widget. * Save and show username instead of login.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/description.html.erb2
1 files changed, 1 insertions, 1 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 a7d1b64bdc2..1891e837e47 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
@@ -21,7 +21,7 @@
%>
<tr>
<td>Profile:</td>
- <td id="resource_profile"><%= link_to profile_measure.data, {:controller => '/rules_configuration', :action => 'index', :id => profile_measure.value.to_i}, :id => 'profile_link' -%></td>
+ <td id="resource_profile"><%= link_to profile_measure.data, {:controller => '/rules_configuration', :action => 'index', :id => profile_measure.value.to_i}, :id => 'profile_link' -%> (version <%= format_measure('profile_version', :default => '1') -%>)</td>
</tr>
<% end %>
<% if Project::SCOPE_SET==@project.scope %>