summaryrefslogtreecommitdiffstats
path: root/app/views/projects/calendar.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/calendar.rhtml')
-rw-r--r--app/views/projects/calendar.rhtml15
1 files changed, 9 insertions, 6 deletions
diff --git a/app/views/projects/calendar.rhtml b/app/views/projects/calendar.rhtml
index 9b0c26ed4..7f7f3813c 100644
--- a/app/views/projects/calendar.rhtml
+++ b/app/views/projects/calendar.rhtml
@@ -25,18 +25,21 @@
</table>
<br />
-<table class="calenderTable">
-<tr class="ListHead">
-<td></td>
+<table class="list with-cells">
+<thead>
+<tr>
+<th></th>
<% 1.upto(7) do |d| %>
- <td align="center" width="14%"><%= day_name(d) %></td>
+ <th width="14%"><%= day_name(d) %></th>
<% end %>
</tr>
+</thead>
+<tbody>
<tr height="100">
<% day = @date_from
while day <= @date_to
if day.cwday == 1 %>
- <td valign="middle"><%= day.cweek %></td>
+ <th><%= day.cweek %></th>
<% end %>
<td valign="top" width="14%" class="<%= day.month==@month ? "even" : "odd" %>">
<p align="right"><%= day==Date.today ? "<b>#{day.day}</b>" : day.day %></p>
@@ -58,9 +61,9 @@ while day <= @date_to
day = day + 1
end %>
</tr>
+</tbody>
</table>
-<br />
<%= image_tag 'arrow_from' %>&nbsp;&nbsp;<%= l(:text_tip_task_begin_day) %><br />
<%= image_tag 'arrow_to' %>&nbsp;&nbsp;<%= l(:text_tip_task_end_day) %><br />
<%= image_tag 'arrow_bw' %>&nbsp;&nbsp;<%= l(:text_tip_task_begin_end_day) %><br /> \ No newline at end of file