diff --git a/plugins/mezuro/views/cms/mezuro_plugin/_configuration_content.html.erb b/plugins/mezuro/views/cms/mezuro_plugin/_configuration_content.html.erb index 5ff2ab4..97a0ad0 100644 --- a/plugins/mezuro/views/cms/mezuro_plugin/_configuration_content.html.erb +++ b/plugins/mezuro/views/cms/mezuro_plugin/_configuration_content.html.erb @@ -19,16 +19,18 @@ end <%= f.text_field :description %>
-

Metrics

- - <% @tool_names = Kalibro::Client::BaseToolClient.new - @tool_names.base_tool_names.each do |collector_name| +

Metrics

+<% @tool_names = Kalibro::Client::BaseToolClient.new +@tool_names.base_tool_names.each do |collector_name| %> +

<%=collector_name%>

+
+ <% @collector = @tool_names.base_tool(collector_name) @collector.supported_metrics.each do |metric| %> -- libgit2 0.21.2
- <%= check_box_tag metric.name, metric.name, true %> + <%= check_box_tag collector_name + ":" + metric.name, collector_name + ":" + metric.name, true %> <%= label_tag metric.name %>