annotate examples/tutorial/geddit/templates/comments.html @ 613:d8f961381f75

GenshiTutorial: fix storing of submissions.
author cmlenz
date Wed, 29 Aug 2007 19:34:39 +0000
parents 16b1be35c265
children 0dc152d128f5
rev   line source
611
16b1be35c265 Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff changeset
1 <!DOCTYPE html>
16b1be35c265 Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff changeset
2 <ul xmlns="http://www.w3.org/1999/xhtml"
16b1be35c265 Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff changeset
3 xmlns:xi="http://www.w3.org/2001/XInclude"
16b1be35c265 Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff changeset
4 xmlns:py="http://genshi.edgewall.org/"
16b1be35c265 Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff changeset
5 py:if="comments" class="comments">
16b1be35c265 Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff changeset
6 <li py:for="comment in comments">
16b1be35c265 Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff changeset
7 <strong>${comment.username}</strong>
16b1be35c265 Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff changeset
8 at ${comment.time.strftime('%M/%d/%Y %H:%m')}
16b1be35c265 Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff changeset
9 <blockquote>${comment.content}</blockquote>
16b1be35c265 Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff changeset
10 <a href="/reply/${comment.code}/">reply</a>
16b1be35c265 Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff changeset
11 <xi:include href="comments.html" py:with="comments=comment.replies" />
16b1be35c265 Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff changeset
12 </li>
16b1be35c265 Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff changeset
13 </ul>
Copyright (C) 2012-2017 Edgewall Software