????
Current Path : C:/inetpub/vhost/redmine/plugins/redmine_people/app/views/people_calendars/ |
Current File : C:/inetpub/vhost/redmine/plugins/redmine_people/app/views/people_calendars/index.html.erb |
<div class="contextual"> <%= link_to l(:label_people_holiday_new), new_people_holiday_path, :class => 'icon icon-add' if User.current.allowed_people_to?(:manage_calendar) %> </div> <h2><%= l(:label_calendar) %></h2> <%= form_tag({:controller => 'people_calendars', :action => 'index'}, :method => :get, :id => 'query_form') do %> <%= hidden_field_tag 'set_filter', '1' %> <%= hidden_field_tag 'set_birthdays', params[:birthdays].blank? ? '1' : '0' %> <fieldset id="options" class="collapsible collapsed"> <legend class="icon icon-collapsed" onclick="toggleFieldset(this);"><%= l(:label_options) %></legend> <div style="display: none;"> <table> <tr> <td><label class="inline"><%= check_box_tag :birthdays, 1, show_birthdays? %><%= l(:label_people_birthdays) %></label></td> </tr> </table> </div> </fieldset> <p style="float:right;"> <%= link_to_previous_month(@year, @month, :accesskey => accesskey(:previous)) %> | <%= link_to_next_month(@year, @month, :accesskey => accesskey(:next)) %> </p> <p class="buttons"> <%= label_tag('month', l(:label_month)) %> <%= select_month(@month, :prefix => "month", :discard_type => true) %> <%= label_tag('year', l(:label_year)) %> <%= select_year(@year, :prefix => "year", :discard_type => true) %> <%= link_to_function l(:button_apply), '$("#query_form").submit()', :class => 'icon icon-checked' %> <%= link_to l(:button_clear), { :project_id => @project, :set_filter => 1 }, :class => 'icon icon-reload' %> </p> <% end %> <%= error_messages_for 'query' %> <%= render :partial => 'calendar', :locals => {:calendar => @calendar} %> <%= call_hook(:view_calendars_show_bottom, :year => @year, :month => @month, :project => @project, :query => @query) %> <% content_for :sidebar do %> <%= render :partial => 'people/sidebar' %> <% end %> <% html_title(l(:label_calendar)) -%>