##// END OF EJS Templates
Add a css class to hide content when printing. #5508...
Add a css class to hide content when printing. #5508 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3787 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r3655:28519714e0dc
r3673:b10818f4a1c1
Show More
_calendar.rhtml
32 lines | 1.2 KiB | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
Calendar:...
r804 <table class="cal">
<thead>
Eric Davis
Updated the project calendar for greater accessibility....
r3655 <tr><th scope="col" title="<%= l(:label_week) %>" class="week-number"></th><% 7.times do |i| %><th scope="col"><%= day_name( (calendar.first_wday+i)%7 ) %></th><% end %></tr>
Jean-Philippe Lang
Calendar:...
r804 </thead>
<tbody>
<tr>
<% day = calendar.startdt
while day <= calendar.enddt %>
Eric Davis
Updated the project calendar for greater accessibility....
r3655 <%= "<td class='week-number' title='#{ l(:label_week) }'>#{day.cweek}</td>" if day.cwday == calendar.first_wday %>
Jean-Philippe Lang
Calendar:...
r804 <td class="<%= day.month==calendar.month ? 'even' : 'odd' %><%= ' today' if Date.today == day %>">
<p class="day-num"><%= day.day %></p>
<% calendar.events_on(day).each do |i| %>
<% if i.is_a? Issue %>
Jean-Philippe Lang
Move hardcoded calendar images to css classes....
r3363 <div class="<%= i.css_classes %> <%= 'starting' if day == i.start_date %> <%= 'ending' if day == i.due_date %> tooltip">
Jean-Philippe Lang
Include subprojects versions on calendar and gantt (#1116)....
r1349 <%= h("#{i.project} -") unless @project && @project == i.project %>
Jean-Philippe Lang
Refactoring ApplicationHelper#link_to_issue....
r2926 <%= link_to_issue i, :truncate => 30 %>
Jean-Philippe Lang
Calendar:...
r804 <span class="tip"><%= render_issue_tooltip i %></span>
</div>
<% else %>
Jean-Philippe Lang
Include subprojects versions on calendar and gantt (#1116)....
r1349 <span class="icon icon-package">
<%= h("#{i.project} -") unless @project && @project == i.project %>
<%= link_to_version i%>
</span>
Jean-Philippe Lang
Calendar:...
r804 <% end %>
<% end %>
</td>
<%= '</tr><tr>' if day.cwday==calendar.last_wday and day!=calendar.enddt %>
<% day = day + 1
end %>
</tr>
</tbody>
</table>