| |   |
| 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" |
| 2 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
| 3 | |
| 1 | 4 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
| 2 | 5 | <head> |
| 3 | 6 | <title>Component <%= component.name %></title> |
| … | … | |
| 16 | 16 | |
| 17 | 17 | <%= render "issue_table", :show_component => false, :show_release => true %> |
| 18 | 18 | |
| 19 | | <p class="footer">Generated <%= Time.now %> by <a href="http://ditz.rubyforge.org/">ditz</a>. |
| 19 | <p class="footer vevent"><span class="summary">Generated</span> <%= uf_time Time.now %> by <a href="http://ditz.rubyforge.org/">ditz</a>.</p> |
| 20 | |
| 20 | 21 | </body> |
| 21 | 22 | </html> |
| toggle raw diff |
--- a/lib/component.rhtml
+++ b/lib/component.rhtml
@@ -1,3 +1,6 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Component <%= component.name %></title>
@@ -13,6 +16,7 @@
<%= render "issue_table", :show_component => false, :show_release => true %>
-<p class="footer">Generated <%= Time.now %> by <a href="http://ditz.rubyforge.org/">ditz</a>.
+<p class="footer vevent"><span class="summary">Generated</span> <%= uf_time Time.now %> by <a href="http://ditz.rubyforge.org/">ditz</a>.</p>
+
</body>
</html> |
| |   |
| 44 | 44 | <% else %> |
| 45 | 45 | <ul> |
| 46 | 46 | <% past_releases.sort_by { |r| r.release_time }.reverse.each do |r| %> |
| 47 | | <li><%= link_to r, "Release #{r.name}" %>, released <%= r.release_time.pretty_date %>. </li> |
| 47 | <li class="vevent"><span class="summary"><%= link_to r, "Release #{r.name}" %>, released</span> <%= uf_time r.release_time %>. </li> |
| 48 | 48 | <% end %> |
| 49 | 49 | </ul> |
| 50 | 50 | <% end %> |
| … | … | |
| 80 | 80 | </ul> |
| 81 | 81 | <% end %> |
| 82 | 82 | |
| 83 | | <p class="footer">Generated <%= Time.now %> by <a href="http://ditz.rubyforge.org/">ditz</a>.</p> |
| 83 | <p class="footer vevent"><span class="summary">Generated</span> <%= uf_time Time.now %> by <a href="http://ditz.rubyforge.org/">ditz</a>.</p> |
| 84 | 84 | |
| 85 | 85 | </body> |
| 86 | 86 | </html> |
| toggle raw diff |
--- a/lib/index.rhtml
+++ b/lib/index.rhtml
@@ -44,7 +44,7 @@
<% else %>
<ul>
<% past_releases.sort_by { |r| r.release_time }.reverse.each do |r| %>
- <li><%= link_to r, "Release #{r.name}" %>, released <%= r.release_time.pretty_date %>. </li>
+ <li class="vevent"><span class="summary"><%= link_to r, "Release #{r.name}" %>, released</span> <%= uf_time r.release_time %>. </li>
<% end %>
</ul>
<% end %>
@@ -80,7 +80,7 @@
</ul>
<% end %>
-<p class="footer">Generated <%= Time.now %> by <a href="http://ditz.rubyforge.org/">ditz</a>.</p>
+<p class="footer vevent"><span class="summary">Generated</span> <%= uf_time Time.now %> by <a href="http://ditz.rubyforge.org/">ditz</a>.</p>
</body>
</html>
\ No newline at end of file |
| |   |
| 14 | 14 | |
| 15 | 15 | <h1><%= issue.title %></h1> |
| 16 | 16 | |
| 17 | | <%= |
| 18 | | project.issues.inject(p(issue.desc)) do |s, i| |
| 19 | | s.gsub(/\{issue #{i.id}\}/, link_to(i, i.title)) |
| 20 | | end.gsub(/\{issue \w+\}/, "[unknown issue]") |
| 21 | | %> |
| 22 | | |
| 23 | | <table> |
| 17 | <table class="vevent"> |
| 24 | 18 | <tr> |
| 25 | 19 | <td class="attrname">Id:</td> |
| 26 | | <td class="attrval"><%= issue.id %></td> |
| 20 | <td class="attrval uid"><%= issue.id %></td> |
| 27 | 21 | </tr> |
| 28 | 22 | |
| 29 | 23 | <tr> |
| … | … | |
| 26 | 26 | </tr> |
| 27 | 27 | |
| 28 | 28 | <tr> |
| 29 | | <td class="attrname">Creation time:</td> |
| 30 | | <td class="attrval"><%= issue.creation_time %></td> |
| 29 | <td class="attrname summary">Creation time:</td> |
| 30 | <td class="attrval"><%= uf_time issue.creation_time %></td> |
| 31 | 31 | </tr> |
| 32 | 32 | |
| 33 | 33 | <tr> |
| … | … | |
| 74 | 74 | <%= issue.status_string %><% if issue.closed? %>: <%= issue.disposition_string %><% end %> |
| 75 | 75 | </td> |
| 76 | 76 | </tr> |
| 77 | |
| 78 | <tr> |
| 79 | <td class="attrname">Description</td> |
| 80 | <td class="attrval description"> |
| 81 | <%= |
| 82 | project.issues.inject(p(issue.desc)) do |s, i| |
| 83 | s.gsub(/\{issue #{i.id}\}/, link_to(i, i.title)) |
| 84 | end.gsub(/\{issue \w+\}/, "[unknown issue]") |
| 85 | %> |
| 86 | </td> |
| 87 | </tr> |
| 88 | |
| 77 | 89 | </table> |
| 78 | 90 | |
| 79 | 91 | <h2>Issue log</h2> |
| 80 | 92 | |
| 81 | | <table> |
| 93 | <table class="hfeed"> |
| 82 | 94 | <% issue.log_events.each_with_index do |(time, who, what, comment), i| %> |
| 83 | 95 | <% if i % 2 == 0 %> |
| 84 | | <tr class="logentryeven"> |
| 96 | <tr class="logentryeven hentry"> |
| 85 | 97 | <% else %> |
| 86 | | <tr class="logentryodd"> |
| 98 | <tr class="logentryodd hentry"> |
| 87 | 99 | <% end %> |
| 88 | | <td class="logtime"><%=h time %></td> |
| 100 | <td class="logtime"><%= uf_hatom time %></td> |
| 89 | 101 | <td class="logwho"><%=obscured_email who %></td> |
| 90 | | <td class="logwhat"><%=h what %></td> |
| 102 | <td class="logwhat entry-title"><%=h what %></td> |
| 91 | 103 | </tr> |
| 92 | 104 | <tr><td colspan="3" class="logcomment"> |
| 93 | 105 | <% if comment.empty? %> |
| … | … | |
| 110 | 110 | <% end %> |
| 111 | 111 | </table> |
| 112 | 112 | |
| 113 | | <p class="footer">Generated <%= Time.now %> by <a href="http://ditz.rubyforge.org/">ditz</a>.<p> |
| 113 | <p class="footer vevent"><span class="summary">Generated</span> <%= uf_time Time.now %> by <a href="http://ditz.rubyforge.org/">ditz</a>.</p> |
| 114 | |
| 114 | 115 | </body> |
| 115 | 116 | </html> |
| toggle raw diff |
--- a/lib/issue.rhtml
+++ b/lib/issue.rhtml
@@ -14,16 +14,10 @@
<h1><%= issue.title %></h1>
-<%=
- project.issues.inject(p(issue.desc)) do |s, i|
- s.gsub(/\{issue #{i.id}\}/, link_to(i, i.title))
- end.gsub(/\{issue \w+\}/, "[unknown issue]")
-%>
-
-<table>
+<table class="vevent">
<tr>
<td class="attrname">Id:</td>
- <td class="attrval"><%= issue.id %></td>
+ <td class="attrval uid"><%= issue.id %></td>
</tr>
<tr>
@@ -32,8 +26,8 @@
</tr>
<tr>
- <td class="attrname">Creation time:</td>
- <td class="attrval"><%= issue.creation_time %></td>
+ <td class="attrname summary">Creation time:</td>
+ <td class="attrval"><%= uf_time issue.creation_time %></td>
</tr>
<tr>
@@ -80,20 +74,32 @@
<%= issue.status_string %><% if issue.closed? %>: <%= issue.disposition_string %><% end %>
</td>
</tr>
+
+ <tr>
+ <td class="attrname">Description</td>
+ <td class="attrval description">
+ <%=
+ project.issues.inject(p(issue.desc)) do |s, i|
+ s.gsub(/\{issue #{i.id}\}/, link_to(i, i.title))
+ end.gsub(/\{issue \w+\}/, "[unknown issue]")
+ %>
+ </td>
+ </tr>
+
</table>
<h2>Issue log</h2>
-<table>
+<table class="hfeed">
<% issue.log_events.each_with_index do |(time, who, what, comment), i| %>
<% if i % 2 == 0 %>
- <tr class="logentryeven">
+ <tr class="logentryeven hentry">
<% else %>
- <tr class="logentryodd">
+ <tr class="logentryodd hentry">
<% end %>
- <td class="logtime"><%=h time %></td>
+ <td class="logtime"><%= uf_hatom time %></td>
<td class="logwho"><%=obscured_email who %></td>
- <td class="logwhat"><%=h what %></td>
+ <td class="logwhat entry-title"><%=h what %></td>
</tr>
<tr><td colspan="3" class="logcomment">
<% if comment.empty? %>
@@ -104,6 +110,7 @@
<% end %>
</table>
-<p class="footer">Generated <%= Time.now %> by <a href="http://ditz.rubyforge.org/">ditz</a>.<p>
+<p class="footer vevent"><span class="summary">Generated</span> <%= uf_time Time.now %> by <a href="http://ditz.rubyforge.org/">ditz</a>.</p>
+
</body>
</html>
\ No newline at end of file |
| |   |
| 1 | | <table> |
| 1 | <table class="hfeed"> |
| 2 | 2 | <% issues.sort_by { |i| i.sort_order }.each do |i| %> |
| 3 | | <tr> |
| 3 | <tr class="hentry"> |
| 4 | 4 | <td class="issuestatus_<%= i.status %>"> |
| 5 | 5 | <%= i.status_string %><% if i.closed? %>: <%= i.disposition_string %><% end %> |
| 6 | 6 | </td> |
| 7 | | <td class="issuename"> |
| 7 | <td class="issuename entry-title"> |
| 8 | 8 | <%= link_to i, i.title %> |
| 9 | 9 | <%= i.bug? ? '(bug)' : '' %> |
| 10 | 10 | </td> |
| … | … | |
| 23 | 23 | component <%= link_to project.component_for(i.component), i.component %> |
| 24 | 24 | </td> |
| 25 | 25 | <% end %> |
| 26 | <td> |
| 27 | <%= uf_hatom i.creation_time %> |
| 28 | </td> |
| 26 | 29 | </tr> |
| 27 | 30 | <% end %> |
| 28 | | </table> |
| 29 | | |
| 31 | </table> |
| toggle raw diff |
--- a/lib/issue_table.rhtml
+++ b/lib/issue_table.rhtml
@@ -1,10 +1,10 @@
-<table>
+<table class="hfeed">
<% issues.sort_by { |i| i.sort_order }.each do |i| %>
- <tr>
+ <tr class="hentry">
<td class="issuestatus_<%= i.status %>">
<%= i.status_string %><% if i.closed? %>: <%= i.disposition_string %><% end %>
</td>
- <td class="issuename">
+ <td class="issuename entry-title">
<%= link_to i, i.title %>
<%= i.bug? ? '(bug)' : '' %>
</td>
@@ -23,7 +23,9 @@
component <%= link_to project.component_for(i.component), i.component %>
</td>
<% end %>
+ <td>
+ <%= uf_hatom i.creation_time %>
+ </td>
</tr>
<% end %>
-</table>
-
+</table>
\ No newline at end of file |
| |   |
| 13 | 13 | |
| 14 | 14 | <h1><%= project.name %> release <%= release.name %></h1> |
| 15 | 15 | |
| 16 | | <p> |
| 17 | 16 | <table> |
| 18 | 17 | <tr> |
| 19 | 18 | <td class="attrname">Status:</td> |
| 20 | 19 | <td class="attrval"><%= release.status %></td> |
| 21 | 20 | </tr> |
| 22 | 21 | <% if release.released? %> |
| 23 | | <tr> |
| 24 | | <td class="attrname">Release time:</td> |
| 25 | | <td class="attrval"><%= release.release_time %></td> |
| 22 | <tr class="vevent"> |
| 23 | <td class="attrname summary">Release time:</td> |
| 24 | <td class="attrval"><%= uf_time release.release_time %></td> |
| 26 | 25 | </tr> |
| 27 | 26 | <% end %> |
| 28 | 27 | <tr> |
| … | … | |
| 33 | 33 | <td class="attrval"><%= sprintf "%.0f%%", pct_done %></td> |
| 34 | 34 | </tr> |
| 35 | 35 | </table> |
| 36 | | </p> |
| 37 | 36 | |
| 38 | 37 | <h2>Issues</h2> |
| 39 | 38 | <% if issues.empty? %> |
| … | … | |
| 42 | 42 | <% end %> |
| 43 | 43 | |
| 44 | 44 | <h2>Release log</h2> |
| 45 | | <table> |
| 45 | <table class="hfeed"> |
| 46 | 46 | <% release.log_events.each_with_index do |(time, who, what, comment), i| %> |
| 47 | 47 | <% if i % 2 == 0 %> |
| 48 | | <tr class="logentryeven"> |
| 48 | <tr class="logentryeven hentry"> |
| 49 | 49 | <% else %> |
| 50 | | <tr class="logentryodd"> |
| 50 | <tr class="logentryodd hentry"> |
| 51 | 51 | <% end %> |
| 52 | | <td class="logtime"><%=h time %></td> |
| 52 | <td class="logtime"><%= uf_hatom time %></td> |
| 53 | 53 | <td class="logwho"><%=obscured_email who %></td> |
| 54 | | <td class="logwhat"><%=h what %></td> |
| 54 | <td class="logwhat entry-title"><%=h what %></td> |
| 55 | 55 | </tr> |
| 56 | 56 | <tr><td colspan="3" class="logcomment"> |
| 57 | 57 | <% if comment.empty? %> |
| … | … | |
| 62 | 62 | <% end %> |
| 63 | 63 | </table> |
| 64 | 64 | |
| 65 | | <p class="footer">Generated <%= Time.now %> by <a href="http://ditz.rubyforge.org/">ditz</a>.</p> |
| 65 | <p class="footer vevent"><span class="summary">Generated</span> <%= uf_time Time.now %> by <a href="http://ditz.rubyforge.org/">ditz</a>.</p> |
| 66 | 66 | |
| 67 | 67 | </body> |
| 68 | 68 | </html> |
| toggle raw diff |
--- a/lib/release.rhtml
+++ b/lib/release.rhtml
@@ -13,16 +13,15 @@
<h1><%= project.name %> release <%= release.name %></h1>
-<p>
<table>
<tr>
<td class="attrname">Status:</td>
<td class="attrval"><%= release.status %></td>
</tr>
<% if release.released? %>
- <tr>
- <td class="attrname">Release time:</td>
- <td class="attrval"><%= release.release_time %></td>
+ <tr class="vevent">
+ <td class="attrname summary">Release time:</td>
+ <td class="attrval"><%= uf_time release.release_time %></td>
</tr>
<% end %>
<tr>
@@ -34,7 +33,6 @@
<td class="attrval"><%= sprintf "%.0f%%", pct_done %></td>
</tr>
</table>
-</p>
<h2>Issues</h2>
<% if issues.empty? %>
@@ -44,16 +42,16 @@
<% end %>
<h2>Release log</h2>
-<table>
+<table class="hfeed">
<% release.log_events.each_with_index do |(time, who, what, comment), i| %>
<% if i % 2 == 0 %>
- <tr class="logentryeven">
+ <tr class="logentryeven hentry">
<% else %>
- <tr class="logentryodd">
+ <tr class="logentryodd hentry">
<% end %>
- <td class="logtime"><%=h time %></td>
+ <td class="logtime"><%= uf_hatom time %></td>
<td class="logwho"><%=obscured_email who %></td>
- <td class="logwhat"><%=h what %></td>
+ <td class="logwhat entry-title"><%=h what %></td>
</tr>
<tr><td colspan="3" class="logcomment">
<% if comment.empty? %>
@@ -64,7 +62,7 @@
<% end %>
</table>
-<p class="footer">Generated <%= Time.now %> by <a href="http://ditz.rubyforge.org/">ditz</a>.</p>
+<p class="footer vevent"><span class="summary">Generated</span> <%= uf_time Time.now %> by <a href="http://ditz.rubyforge.org/">ditz</a>.</p>
</body>
</html>
\ No newline at end of file |
| |   |
| 9 | 9 | </head> |
| 10 | 10 | <body> |
| 11 | 11 | |
| 12 | <%= link_to "index", "« #{project.name} project page" %> |
| 13 | |
| 12 | 14 | <h1>Issues not assigned to any release</h1> |
| 13 | 15 | |
| 14 | | <table> |
| 16 | <table class="hfeed"> |
| 15 | 17 | <% issues.sort_by { |i| i.sort_order }.each do |i| %> |
| 16 | | <tr> |
| 18 | <tr class="hentry"> |
| 17 | 19 | <td class="issuestatus_<%= i.status %>"> |
| 18 | 20 | <%= i.status_string %><% if i.closed? %>: <%= i.disposition_string %><% end %> |
| 19 | 21 | </td> |
| 20 | | <td class="issuename"> |
| 22 | <td class="issuename entry-title"> |
| 21 | 23 | <%= link_to i, i.title %> |
| 22 | 24 | <%= i.bug? ? '(bug)' : '' %> |
| 23 | 25 | </td> |
| 26 | <td> |
| 27 | <%= uf_hatom i.creation_time %> |
| 28 | </td> |
| 24 | 29 | </tr> |
| 25 | 30 | <% end %> |
| 26 | 31 | </table> |
| 27 | 32 | |
| 28 | | <p class="footer">Generated <%= Time.now %> by <a href="http://ditz.rubyforge.org/">ditz</a>.</p> |
| 33 | <p class="footer vevent"><span class="summary">Generated</span> <%= uf_time Time.now %> by <a href="http://ditz.rubyforge.org/">ditz</a>.</p> |
| 34 | |
| 29 | 35 | </body> |
| 30 | 36 | </html> |
| toggle raw diff |
--- a/lib/unassigned.rhtml
+++ b/lib/unassigned.rhtml
@@ -9,22 +9,28 @@
</head>
<body>
+<%= link_to "index", "« #{project.name} project page" %>
+
<h1>Issues not assigned to any release</h1>
-<table>
+<table class="hfeed">
<% issues.sort_by { |i| i.sort_order }.each do |i| %>
- <tr>
+ <tr class="hentry">
<td class="issuestatus_<%= i.status %>">
<%= i.status_string %><% if i.closed? %>: <%= i.disposition_string %><% end %>
</td>
- <td class="issuename">
+ <td class="issuename entry-title">
<%= link_to i, i.title %>
<%= i.bug? ? '(bug)' : '' %>
</td>
+ <td>
+ <%= uf_hatom i.creation_time %>
+ </td>
</tr>
<% end %>
</table>
-<p class="footer">Generated <%= Time.now %> by <a href="http://ditz.rubyforge.org/">ditz</a>.</p>
+<p class="footer vevent"><span class="summary">Generated</span> <%= uf_time Time.now %> by <a href="http://ditz.rubyforge.org/">ditz</a>.</p>
+
</body>
</html>
\ No newline at end of file |