%= form_tag({}, :data => {:cm_url => issues_context_menu_path}) do -%> <%= hidden_field_tag 'back_url', url_for(:params => request.query_parameters), :id => nil %>
<%= day.day %> (<%= abbr_day_name(day.cwday) %>)
<% calendar.events_on(day).each do |i| %> <% if i.is_a? Issue %> <%= tag.div class: [ i.css_classes, 'tooltip hascontextmenu', starting: day == i.start_date, ending: day == i.due_date] do %> <%= "#{i.project} -" unless @project && @project == i.project %> <%= link_to_issue i, :truncate => 30 %> <%= render_issue_tooltip i %> <%= check_box_tag 'ids[]', i.id, false, :style => 'display:none;', :id => nil %> <% end %> <% else %> <%= "#{i.project} -" unless @project && @project == i.project %> <%= link_to_version i %> <% end %> <% end %>