Commit daf6742749075249e9a57ae1dcaf750c81c9127e
Committed by
Alessandro Palmeira
1 parent
03f1e632
Exists in
master
and in
28 other branches
[Mezuro] Added titles to metrics table on show_configuration screen
Showing
1 changed file
with
9 additions
and
1 deletions
Show diff stats
plugins/mezuro/views/content_viewer/show_configuration.rhtml
| @@ -18,11 +18,19 @@ | @@ -18,11 +18,19 @@ | ||
| 18 | </tr> | 18 | </tr> |
| 19 | </table> | 19 | </table> |
| 20 | 20 | ||
| 21 | -<%= link_to "Add Metric", :controller => "mezuro_plugin_profile", :action => "choose_base_tool", :params => | 21 | + |
| 22 | +<br/> | ||
| 23 | + | ||
| 24 | +<%= link_to "#{image_tag ('/plugins/mezuro/images/plus.png')}Add Metric", :controller => "mezuro_plugin_profile", :action => "choose_base_tool", :params => | ||
| 22 | {:configuration_name => @configuration.name} %><br/> | 25 | {:configuration_name => @configuration.name} %><br/> |
| 23 | 26 | ||
| 24 | <table> | 27 | <table> |
| 25 | <% @configuration.metric_configurations.each do |metric_configuration| %> | 28 | <% @configuration.metric_configurations.each do |metric_configuration| %> |
| 29 | + <tr class="titles"> | ||
| 30 | + <td><h5>Metric Name</h5></td> | ||
| 31 | + <td><h5>Collector Name</h5></td> | ||
| 32 | + <td><h5>Metric Code</h5></td> | ||
| 33 | + </tr> | ||
| 26 | <tr class="metric"> | 34 | <tr class="metric"> |
| 27 | <td><%= metric_configuration.metric.name %></td> | 35 | <td><%= metric_configuration.metric.name %></td> |
| 28 | <td><%= metric_configuration.metric.origin %></td> | 36 | <td><%= metric_configuration.metric.origin %></td> |