Adds css classes to the issues in the calendar (#2651).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2568 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
89719e205e
commit
9701c33562
|
@ -11,7 +11,7 @@ while day <= calendar.enddt %>
|
|||
<p class="day-num"><%= day.day %></p>
|
||||
<% calendar.events_on(day).each do |i| %>
|
||||
<% if i.is_a? Issue %>
|
||||
<div class="tooltip">
|
||||
<div class="<%= css_issue_classes(i) %> tooltip">
|
||||
<%= if day == i.start_date && day == i.due_date
|
||||
image_tag('arrow_bw.png')
|
||||
elsif day == i.start_date
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
<h2><%= @issue.tracker.name %> #<%= @issue.id %></h2>
|
||||
|
||||
<div class="<%= css_issue_classes(@issue) %>">
|
||||
<div class="<%= css_issue_classes(@issue) %> details">
|
||||
<%= avatar(@issue.author, :size => "64") %>
|
||||
<h3><%=h @issue.subject %></h3>
|
||||
<p class="author">
|
||||
|
|
Loading…
Reference in New Issue