Commits

Christian Boos committed 2cddc58

TracRevisionLog: reindent after r8850.

  • Participants
  • Parent commits 6576688
  • Branches 0.11-stable

Comments (0)

Files changed (2)

trac/versioncontrol/templates/revisionlog.rss

     </image>
 
     <py:for each="items in item_ranges">
-    <item py:for="item in items"
-          py:with="change = changes[item.rev];
-                   item_context = context('changeset', change.rev)">
-      ${author_or_creator(change.author, email_map)}
-      <pubDate>${http_date(change.date)}</pubDate>
-      <title>Revision $item.rev: ${shorten_line(change.message)}</title>
-      <link>${abs_href.changeset(item.rev, item.path)}</link>
-      <guid isPermaLink="false">${abs_href.changeset(item.rev, item.path)}</guid>
-      <description py:with="m = change.message">${
-        unicode(wiki_format_messages and (verbose and wiki_to_html(item_context, m) \
-                                                   or wiki_to_oneliner(item_context, m)) \
-                                     or m)
-        }</description>
-      <category>Log</category>
-    </item>
+      <item py:for="item in items"
+            py:with="change = changes[item.rev];
+                     item_context = context('changeset', change.rev)">
+        ${author_or_creator(change.author, email_map)}
+        <pubDate>${http_date(change.date)}</pubDate>
+        <title>Revision $item.rev: ${shorten_line(change.message)}</title>
+        <link>${abs_href.changeset(item.rev, item.path)}</link>
+        <guid isPermaLink="false">${abs_href.changeset(item.rev, item.path)}</guid>
+        <description py:with="m = change.message">${
+          unicode(wiki_format_messages and (verbose and wiki_to_html(item_context, m) \
+                                                     or wiki_to_oneliner(item_context, m)) \
+                                       or m)
+          }</description>
+        <category>Log</category>
+      </item>
     </py:for>
 
  </channel>

trac/versioncontrol/templates/revisionlog.txt

 # ${format_datetime()}
  
 #for items in item_ranges
-#for item in items
-  #with change = changes[item.rev]; extra = extra_changes[item.rev]
+  #for item in items
+    #with change = changes[item.rev]; extra = extra_changes[item.rev]
 ${http_date(change.date)} ${format_author(change.author)} [$item.rev]
-    #for idx, file in enumerate(extra.files)
+      #for idx, file in enumerate(extra.files)
 	* $file (${dict(edit='modified', add='added', delete='deleted',
-                        copy='copied', move='moved')[extra.actions[idx]]})
-    #end
+                          copy='copied', move='moved')[extra.actions[idx]]})
+      #end
 
 ${verbose and extra.message or shorten_line(extra.message)}
 
 
+    #end
   #end
 #end
-#end