<% day = calendar.startdt
while day <= calendar.enddt %>
<%= ("#{(day+(11-day.cwday)%7).cweek} | ".html_safe) if day.cwday == calendar.first_wday %>
<%= day.day %>
<% calendar.events_on(day).each do |i| %>
<% if i.is_a? Issue %>
<%= "#{i.project} -" unless @project && @project == i.project %>
<%= link_to_issue i, :truncate => 30 %>
<%= render_issue_tooltip i %>
<% else %>
<%= "#{i.project} -" unless @project && @project == i.project %>
<%= link_to_version i%>
<% end %>
<% end %>
|
<%= '