comparison examples/tutorial/geddit/templates/index.html @ 618:b6706f9346ac trunk

Simplify the tutorial project: comments are now flat, not hierarchical.
author cmlenz
date Thu, 30 Aug 2007 09:08:06 +0000
parents 06165fee45ab
children 756e7418e10c
comparison
equal deleted inserted replaced
617:4fefe77c332a 618:b6706f9346ac
12 12
13 <ol py:if="submissions" class="submissions"> 13 <ol py:if="submissions" class="submissions">
14 <li py:for="submission in submissions"> 14 <li py:for="submission in submissions">
15 <a href="${submission.url}">${submission.title}</a> 15 <a href="${submission.url}">${submission.title}</a>
16 posted by ${submission.username} 16 posted by ${submission.username}
17 at ${submission.time.strftime('%M/%d/%Y %H:%m')}<br /> 17 at ${submission.time.strftime('%m/%d/%Y %H:%M')}<br />
18 <div class="info"> 18 <div class="info">
19 <a href="${url('/info/%s/' % submission.code)}"> 19 <a href="${url('/info/%s/' % submission.code)}">
20 ${len(submission.total_comments)} comments 20 ${len(submission.comments)} comments
21 </a> 21 </a>
22 </div> 22 </div>
23 </li> 23 </li>
24 </ol> 24 </ol>
25 </body> 25 </body>
Copyright (C) 2012-2017 Edgewall Software