diff examples/tutorial/geddit/templates/index.html @ 618:5a2059ce1f0b

Simplify the tutorial project: comments are now flat, not hierarchical.
author cmlenz
date Thu, 30 Aug 2007 09:08:06 +0000
parents 0dc152d128f5
children 71d3edd302ae
line wrap: on
line diff
--- a/examples/tutorial/geddit/templates/index.html
+++ b/examples/tutorial/geddit/templates/index.html
@@ -14,10 +14,10 @@
       <li py:for="submission in submissions">
         <a href="${submission.url}">${submission.title}</a>
         posted by ${submission.username}
-        at ${submission.time.strftime('%M/%d/%Y %H:%m')}<br />
+        at ${submission.time.strftime('%m/%d/%Y %H:%M')}<br />
         <div class="info">
           <a href="${url('/info/%s/' % submission.code)}">
-            ${len(submission.total_comments)} comments
+            ${len(submission.comments)} comments
           </a>
         </div>
       </li>
Copyright (C) 2012-2017 Edgewall Software