@@ -201,9 +201,10 | |||
|
201 | 201 | style += "width: #{width}px;" |
|
202 | 202 | style += "height: #{height}px;" |
|
203 | 203 | style += "font-size:0.7em;" |
|
204 | style += 'background:#f1f1f1;' if wday > 5 | |
|
204 | clss = "gantt_hdr" | |
|
205 | clss << " nwday" if @gantt.non_working_week_days.include?(wday) | |
|
205 | 206 | %> |
|
206 |
<%= content_tag(:div, :style => style, :class => |
|
|
207 | <%= content_tag(:div, :style => style, :class => clss) do %> | |
|
207 | 208 | <%= day_letter(wday) %> |
|
208 | 209 | <% end %> |
|
209 | 210 | <% |
@@ -21,6 +21,7 module Redmine | |||
|
21 | 21 | class Gantt |
|
22 | 22 | include ERB::Util |
|
23 | 23 | include Redmine::I18n |
|
24 | include Redmine::Utils::DateCalculation | |
|
24 | 25 | |
|
25 | 26 | # :nodoc: |
|
26 | 27 | # Some utility methods for the PDF export |
@@ -879,6 +879,8 a.close-icon:hover {background-image:url('../images/close_hl.png');} | |||
|
879 | 879 | overflow: hidden; |
|
880 | 880 | } |
|
881 | 881 | |
|
882 | .gantt_hdr.nwday {background-color:#f1f1f1;} | |
|
883 | ||
|
882 | 884 | .gantt_subjects { font-size: 0.8em; } |
|
883 | 885 | .gantt_subjects div { line-height:16px;height:16px;overflow:hidden;white-space:nowrap;text-overflow: ellipsis; } |
|
884 | 886 |
General Comments 0
You need to be logged in to leave comments.
Login now