summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-03-07 16:32:30 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-03-07 16:32:30 +0000
commit9701c335628e244d0e08d3383e330331070cce4b (patch)
treea94456ba06f0958204e99d0d6163ac450d6aedd8
parent89719e205e13e09dc6b85a1d48e3590c20787703 (diff)
downloadredmine-9701c335628e244d0e08d3383e330331070cce4b.tar.gz
redmine-9701c335628e244d0e08d3383e330331070cce4b.zip
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
-rw-r--r--app/views/common/_calendar.rhtml2
-rw-r--r--app/views/issues/show.rhtml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/common/_calendar.rhtml b/app/views/common/_calendar.rhtml
index 6ac9ddce6..f3d02d433 100644
--- a/app/views/common/_calendar.rhtml
+++ b/app/views/common/_calendar.rhtml
@@ -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
diff --git a/app/views/issues/show.rhtml b/app/views/issues/show.rhtml
index 946411e0b..2943f4395 100644
--- a/app/views/issues/show.rhtml
+++ b/app/views/issues/show.rhtml
@@ -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">