]> source.dussan.org Git - redmine.git/commitdiff
Adds css classes to the issues in the calendar (#2651).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 7 Mar 2009 16:32:30 +0000 (16:32 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 7 Mar 2009 16:32:30 +0000 (16:32 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2568 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/common/_calendar.rhtml
app/views/issues/show.rhtml

index 6ac9ddce61d2c4641cc5131f7aab9bdf750c6552..f3d02d433ec42b7a63d33ed535dd7d802758b88c 100644 (file)
@@ -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
index 946411e0b8cfd1460c48850efaf10b92df1978ee..2943f43958a62c04c9746d0f0bcf170af50ce12c 100644 (file)
@@ -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">