backlog 0.5.2 → 0.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ == 0.5.3 2007-08-06
2
+
3
+ * Dates in weekly work sheet view
4
+
1
5
  == 0.5.2 2007-08-06
2
6
 
3
7
  * Added previous/next week arrows in weekly work sheet view
@@ -1,2 +1,5 @@
1
1
  module WorksHelper
2
+ def week_date(day)
3
+ Date.commercial(Date.today.year, @week, day).strftime('%d/%m')
4
+ end
2
5
  end
@@ -22,14 +22,14 @@ end %>]
22
22
 
23
23
  <table border="1">
24
24
  <tr>
25
- <th colspan="<%=columns%>" align="center"><%=l :monday %></th>
26
- <th colspan="<%=columns%>" align="center"><%=l :tuesday %></th>
27
- <th colspan="<%=columns%>" align="center"><%=l :wednesday %></th>
28
- <th colspan="<%=columns%>" align="center"><%=l :thursday %></th>
29
- <th colspan="<%=columns%>" align="center"><%=l :friday %></th>
30
- <th colspan="<%=columns%>" align="center"><%=l :saturday %></th>
31
- <th colspan="<%=columns%>" align="center"><%=l :sunday %></th>
32
- <th align="center"><%=l :week %></th>
25
+ <th colspan="<%=columns%>" align="center"><%=l :monday %> <%=week_date(1)%></th>
26
+ <th colspan="<%=columns%>" align="center"><%=l :tuesday %> <%=week_date(2)%></th>
27
+ <th colspan="<%=columns%>" align="center"><%=l :wednesday %> <%=week_date(3)%></th>
28
+ <th colspan="<%=columns%>" align="center"><%=l :thursday %> <%=week_date(4)%></th>
29
+ <th colspan="<%=columns%>" align="center"><%=l :friday %> <%=week_date(5)%></th>
30
+ <th colspan="<%=columns%>" align="center"><%=l :saturday %> <%=week_date(6)%></th>
31
+ <th colspan="<%=columns%>" align="center"><%=l :sunday %> <%=week_date(7)%></th>
32
+ <th align="center" nowrap="true"><%=l :week %> <%=@week%></th>
33
33
  </tr>
34
34
  <tr>
35
35
  <% (1..7).each do %>
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.4
3
3
  specification_version: 1
4
4
  name: backlog
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.5.2
6
+ version: 0.5.3
7
7
  date: 2007-08-06 00:00:00 +02:00
8
8
  summary: Application to aid collecting, processing, organizing, reviewing and doing tasks.
9
9
  require_paths: