Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
  • Loading branch information...
commit 9701c335628e244d0e08d3383e330331070cce4b 1 parent 89719e2
@jplang jplang authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  app/views/common/_calendar.rhtml
  2. +1 −1  app/views/issues/show.rhtml
View
2  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
View
2  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">
Please sign in to comment.
Something went wrong with that request. Please try again.