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 / 80 / 808c2b8d656d91389ca1e0955ebdc3c622ab9ac0.svn-base @ 1297:0a574315af3e

History | View | Annotate | Download (1.65 KB)

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)) -%>