##// END OF EJS Templates
Don't require category or target version when they are not available (#20583)....
Don't require category or target version when they are not available (#20583). git-svn-id: http://svn.redmine.org/redmine/trunk@14733 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r13661:b778c51e9049
r14351:68620da79ab5
Show More
_calendar.html.erb
32 lines | 1.2 KiB | text/plain | TextLexer
/ app / views / common / _calendar.html.erb
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 %>
Toshi MARUYAMA
Rails3: view: html_safe for common/_calendar.html.erb...
r8187 <%= ("<td class='week-number' title='#{ l(:label_week) }'>#{(day+(11-day.cwday)%7).cweek}</td>".html_safe) if day.cwday == calendar.first_wday %>
Jean-Philippe Lang
Calendar:...
r804 <td class="<%= day.month==calendar.month ? 'even' : 'odd' %><%= ' today' if Date.today == day %>">
Toshi MARUYAMA
remove a trailing tab from app/views/common/_calendar.html.erb...
r7201 <p class="day-num"><%= day.day %></p>
Jean-Philippe Lang
Calendar:...
r804 <% 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
Removed unneeded #h calls in views....
r13661 <%= "#{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 %>
Toshi MARUYAMA
remove trailing white-spaces from app/views/common/_calendar.html.erb...
r7149 <span class="icon icon-package">
Jean-Philippe Lang
Removed unneeded #h calls in views....
r13661 <%= "#{i.project} -" unless @project && @project == i.project %>
Jean-Philippe Lang
Include subprojects versions on calendar and gantt (#1116)....
r1349 <%= link_to_version i%>
</span>
Jean-Philippe Lang
Calendar:...
r804 <% end %>
<% end %>
</td>
Toshi MARUYAMA
Rails3: view: html_safe for common/_calendar.html.erb...
r8187 <%= '</tr><tr>'.html_safe if day.cwday==calendar.last_wday and day!=calendar.enddt %>
Jean-Philippe Lang
Calendar:...
r804 <% day = day + 1
end %>
</tr>
</tbody>
</table>