From 6ee6fd590ab7d3b36dbc39ec7323adbfe8a13f9e Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Fri, 22 Jul 2011 16:25:51 +0200 Subject: SONAR-2636 Display keys in the administration console of manual metrics --- .../src/main/webapp/WEB-INF/app/views/metrics/index.html.erb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/metrics/index.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/metrics/index.html.erb index 7c1c0f6da9a..9eed83c9fd7 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/metrics/index.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/metrics/index.html.erb @@ -4,6 +4,7 @@ + @@ -14,10 +15,11 @@ <% @metrics.each do |metric| %> - - - - + + + + +
Key Name Description Domain
<%= h metric.short_name %><%= h metric.description %><%= metric.domain %><%= metric.value_type_name %><%= metric.key -%><%= h metric.short_name -%><%= h metric.description -%><%= metric.domain -%><%= metric.value_type_name -%> <% if is_admin? && metric.updatable_online? %> <%= button_to 'Edit', {:action => 'index', :id => metric.id}, {:class => 'action', :id => "edit_#{h(metric.short_name)}", :method => 'get'} %> -- cgit v1.2.3