annotate app/views/calendars/.svn/text-base/show.html.erb.svn-base @ 1176:7d9db6065048 bug_352

Close obsolete branch bug_352
author Chris Cannam
date Wed, 01 Feb 2012 16:09:00 +0000
parents cbce1fd3b1b7
children
rev   line source
Chris@245 1 <h2><%= @query.new_record? ? l(:label_calendar) : h(@query.name) %></h2>
Chris@0 2
Chris@441 3 <% form_tag({:controller => 'calendars', :action => 'show', :project_id => @project}, :method => :get, :id => 'query_form') do %>
Chris@441 4 <%= hidden_field_tag 'set_filter', '1' %>
Chris@245 5 <fieldset id="filters" class="collapsible <%= @query.new_record? ? "" : "collapsed" %>">
Chris@0 6 <legend onclick="toggleFieldset(this);"><%= l(:label_filter_plural) %></legend>
Chris@245 7 <div style="<%= @query.new_record? ? "" : "display: none;" %>">
Chris@0 8 <%= render :partial => 'queries/filters', :locals => {:query => @query} %>
Chris@0 9 </div>
Chris@0 10 </fieldset>
Chris@0 11
Chris@0 12 <p style="float:right;">
Chris@441 13 <%= link_to_previous_month(@year, @month) %> | <%= link_to_next_month(@year, @month) %>
Chris@0 14 </p>
Chris@0 15
Chris@0 16 <p class="buttons">
Chris@0 17 <%= label_tag('month', l(:label_month)) %>
Chris@0 18 <%= select_month(@month, :prefix => "month", :discard_type => true) %>
Chris@0 19 <%= label_tag('year', l(:label_year)) %>
Chris@0 20 <%= select_year(@year, :prefix => "year", :discard_type => true) %>
Chris@0 21
Chris@441 22 <%= link_to_function l(:button_apply), '$("query_form").submit()', :class => 'icon icon-checked' %>
Chris@441 23 <%= link_to l(:button_clear), { :project_id => @project, :set_filter => 1 }, :class => 'icon icon-reload' %>
Chris@0 24 </p>
Chris@0 25 <% end %>
Chris@0 26
Chris@0 27 <%= error_messages_for 'query' %>
Chris@0 28 <% if @query.valid? %>
Chris@0 29 <%= render :partial => 'common/calendar', :locals => {:calendar => @calendar} %>
Chris@0 30
Chris@0 31 <p class="legend cal">
chris@37 32 <span class="starting"><%= l(:text_tip_issue_begin_day) %></span>
chris@37 33 <span class="ending"><%= l(:text_tip_issue_end_day) %></span>
chris@37 34 <span class="starting ending"><%= l(:text_tip_issue_begin_end_day) %></span>
Chris@0 35 </p>
Chris@0 36 <% end %>
Chris@0 37
Chris@0 38 <% content_for :sidebar do %>
Chris@0 39 <%= render :partial => 'issues/sidebar' %>
Chris@0 40 <% end %>
Chris@0 41
Chris@0 42 <% html_title(l(:label_calendar)) -%>