<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -15,8 +15,8 @@ Comments for all articles
 
 &lt;ul class=&quot;pagelist commentlist&quot; id=&quot;comment-list&quot;&gt;
   &lt;% if @comments.any? %&gt;
-  &lt;% @comments.reverse.each_with_index do |comment, i| -%&gt;
-  &lt;li class=&quot;event-comment&lt;%= &quot; shade&quot; if (i % 2 &gt; 0) %&gt;&quot; id=&quot;comment-&lt;%= comment.id %&gt;&quot;&gt;
+  &lt;% @comments.reverse.each do |comment| -%&gt;
+  &lt;li class=&quot;event-comment&lt;%= cycle(&quot;&quot;, &quot; shade&quot;) %&gt;&quot; id=&quot;comment-&lt;%= comment.id %&gt;&quot;&gt;
     &lt;a name=&quot;comment-&lt;%= comment.id %&gt;&quot;&gt;&lt;/a&gt; 
     &lt;% unless comment.body.blank? -%&gt;
     &lt;blockquote&gt;&lt;p&gt;&quot;&lt;%= strip_tags(comment.body) %&gt;&quot;&lt;/p&gt;&lt;/blockquote&gt;</diff>
      <filename>app/views/admin/comments/index.rhtml</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>96cdc957653159c24ebf59a5096bcde6554ba58f</id>
    </parent>
  </parents>
  <author>
    <name>Fran&#231;ois Beausoleil</name>
    <email>francois@teksol.info</email>
  </author>
  <url>http://github.com/technoweenie/mephisto/commit/3bbe3ca69a5aa2e4346e62a988edab0b3d9451b8</url>
  <id>3bbe3ca69a5aa2e4346e62a988edab0b3d9451b8</id>
  <committed-date>2008-03-04T11:09:02-08:00</committed-date>
  <authored-date>2008-03-04T11:09:02-08:00</authored-date>
  <message>Use #cycle in preference to calculating the even rows to shade.</message>
  <tree>75b03c20ef42d5fcd6a7ade7d2618846bd54acd2</tree>
  <committer>
    <name>Fran&#231;ois Beausoleil</name>
    <email>francois@teksol.info</email>
  </committer>
</commit>
