comparison .svn/pristine/80/808c2b8d656d91389ca1e0955ebdc3c622ab9ac0.svn-base @ 909:cbb26bc654de redmine-1.3

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