Permalink
Browse files

adding hook patch

  • Loading branch information...
1 parent 61a1f21 commit cd1f912b218eaadb1093858cf647f8eb989192a4 @yeah yeah committed Oct 6, 2010
Showing with 13 additions and 0 deletions.
  1. +13 −0 extra/view_calendars_show_bottom_hook.patch
@@ -0,0 +1,13 @@
+diff --git a/app/views/calendars/show.html.erb b/app/views/calendars/show.html.erb
+index a898f98..aa9ff73 100644
+--- a/app/views/calendars/show.html.erb
++++ b/app/views/calendars/show.html.erb
+@@ -37,6 +37,8 @@
+ <% if @query.valid? %>
+ <%= render :partial => 'common/calendar', :locals => {:calendar => @calendar} %>
+
++<%= call_hook(:view_calendars_show_bottom, { :year => @year, :month => @month, :project => @project, :query => @query }) %>
++
+ <p class="legend cal">
+ <span class="starting"><%= l(:text_tip_task_begin_day) %></span>
+ <span class="ending"><%= l(:text_tip_task_end_day) %></span>

0 comments on commit cd1f912

Please sign in to comment.