From: Jean-Philippe Lang Date: Sat, 7 Mar 2009 16:32:30 +0000 (+0000) Subject: Adds css classes to the issues in the calendar (#2651). X-Git-Tag: 0.9.0~591 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9701c335628e244d0e08d3383e330331070cce4b;p=redmine.git 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 --- 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 %>

<%= day.day %>

<% calendar.events_on(day).each do |i| %> <% if i.is_a? Issue %> -
+
<%= 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 @@

<%= @issue.tracker.name %> #<%= @issue.id %>

-
+
<%= avatar(@issue.author, :size => "64") %>

<%=h @issue.subject %>