From 4343cafca81ce4ec71231003ab3e42d3706422a7 Mon Sep 17 00:00:00 2001 From: Caio Salgado + Diego Araújo Date: Wed, 30 May 2012 15:58:40 -0300 Subject: [PATCH] [Mezuro] fixed cosplan size and graph size --- plugins/mezuro/lib/mezuro_plugin/helpers/content_viewer_helper.rb | 2 +- plugins/mezuro/views/content_viewer/_module_result.rhtml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/mezuro/lib/mezuro_plugin/helpers/content_viewer_helper.rb b/plugins/mezuro/lib/mezuro_plugin/helpers/content_viewer_helper.rb index dccfb66..d99d02a 100644 --- a/plugins/mezuro/lib/mezuro_plugin/helpers/content_viewer_helper.rb +++ b/plugins/mezuro/lib/mezuro_plugin/helpers/content_viewer_helper.rb @@ -12,7 +12,7 @@ class MezuroPlugin::Helpers::ContentViewerHelper def self.generate_chart(values) Gchart.line( :title_color => 'FF0000', - :size => '700x180', + :size => '600x180', :bg => {:color => 'efefef', :type => 'stripes'}, :line_colors => 'c4a000', :data => values, diff --git a/plugins/mezuro/views/content_viewer/_module_result.rhtml b/plugins/mezuro/views/content_viewer/_module_result.rhtml index 2eacd7e..c388070 100644 --- a/plugins/mezuro/views/content_viewer/_module_result.rhtml +++ b/plugins/mezuro/views/content_viewer/_module_result.rhtml @@ -25,12 +25,12 @@ <%= range.label %> " style="display: none;"> - +
" data-module-name="<%= the_module.name %>" data-metric-name="<%= metric_result.metric.name.delete("() ") %>">

Get Historical Values

- + <%= range.comments.nil? ? '' : range.comments %> @@ -39,10 +39,10 @@ - +
- + <%= _('Grade:') %> -- libgit2 0.21.2