Browse files

fix

  • Loading branch information...
1 parent e7fda67 commit 936d0935a0d495d7d7765c7d47fc6efe48972b6d @bernardo bernardo committed Nov 21, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 app/views/stats/gecko_latest_punches.xml.erb
View
6 app/views/stats/gecko_latest_punches.xml.erb
@@ -3,11 +3,11 @@
<% @punches.each do |punch| %>
<item>
<text>
- <b><%= punch.user.name %></b> <span style="color:<%= punch.entrance? ? "green" : "red" %>;"><%= punch.entrance? ? "entrou" : "saiu" %></span>
- há <i><%= time_ago_in_words(punch.punched_at) %></i>.
+ <![CDATA["<b><%= punch.user.name %></b> <span style="color:<%= punch.entrance? ? "green" : "red" %>;"><%= punch.entrance? ? "entrou" : "saiu" %></span>
+ há <i><%= time_ago_in_words(punch.punched_at) %> (<%= punch.punched_at.hour %>:<%= punch.punched_at.min %>)</i>.
<% unless punch.comment.blank? -%>
<blockquote><%= punch.comment %></blockquote>
- <% end %>
+ <% end %>"]]>
</text>
<type>0</type>
</item>

0 comments on commit 936d093

Please sign in to comment.