To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / .svn / pristine / 84 / 8408fbacd642fbee1a9ec78d0328441ab7d89dd3.svn-base @ 1297:0a574315af3e

History | View | Annotate | Download (1.66 KB)

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