annotate app/views/calendars/show.html.erb @ 1524:82fac3dcf466 redmine-2.5-integration

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