%= form_tag({}, :data => {:cm_url => issues_context_menu_path}) do -%> <%= hidden_field_tag 'back_url', url_for(:params => request.query_parameters), :id => nil %>
<% 7.times do |i| %> | <%= day_name((calendar.first_wday + i) % 7) %> | <% end %>
---|---|
<%= (day + (11 - day.cwday) % 7).cweek %> | <% end %>
<%= day.day %> <% calendar.events_on(day).each do |i| %> <% if i.is_a? Issue %> <% else %> <%= "#{i.project} -" unless @project && @project == i.project %> <%= link_to_version i %> <% end %> <% end %> |
<% if day.cwday==calendar.last_wday and day!=calendar.enddt %>