From 4848a472a53fcbb3e42cdfcd562d5c45da7eed64 Mon Sep 17 00:00:00 2001 From: Rafael Manzo + Diego Araújo Date: Tue, 18 Sep 2012 15:20:12 -0300 Subject: [PATCH] [Mezuro] Toggle datepicker --- plugins/mezuro/views/mezuro_plugin_project/_project_result.rhtml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/plugins/mezuro/views/mezuro_plugin_project/_project_result.rhtml b/plugins/mezuro/views/mezuro_plugin_project/_project_result.rhtml index e1a8461..4ee1807 100644 --- a/plugins/mezuro/views/mezuro_plugin_project/_project_result.rhtml +++ b/plugins/mezuro/views/mezuro_plugin_project/_project_result.rhtml @@ -1,7 +1,6 @@ <% unless @content.errors[:base].nil? %> <%= @content.errors[:base] %> <% else %> -

Choose a date to see specific project results:

<%= _('Last Result') %>

@@ -19,19 +18,24 @@ <%= _('Analysis time') %> <%= @project_result.formatted_analysis_time %> + + Click to choose specific date: + <%= link_to(image_tag('/images/calendar_date_select/calendar.png', :width => 20, :height => 20, :onClick => "$( 'datepicker' ).toggle();"), "javascript:void(0)") %>

+ - - + +
+ - + <% end %> -- libgit2 0.21.2