PageRenderTime 193ms CodeModel.GetById 81ms app.highlight 4ms RepoModel.GetById 56ms app.codeStats 0ms

/themes/default/templates/comment_item.html

http://n23.googlecode.com/
HTML | 16 lines | 14 code | 0 blank | 2 comment | 0 complexity | d1394c0d1cf1570d44234e9ee34824d1 MD5 | raw file
 1<div class="comment" id="c{{ comment.key.id }}">
 2	<div class="entry">{{ comment.content|escape|linebreaksbr }}</div>
 3	<p class="meta">
 4	{% ifequal comment.author self.login_user %}
 5	<span class="fakelink" onclick="DeleteComment('{{ comment.key.id }}')">Delete</span>
 6	<!-- | Edit -->
 7	{% else %}
 8	{% if self.is_admin %}
 9	<span class="fakelink" onclick="DeleteComment('{{ comment.key.id }}')">Delete</span>
10	<!-- | Edit -->
11	{% endif %}
12	{% endifequal %}
13	<span class="date"> {{ comment.date|timezone:8|date:"Y-m-d H:i:s" }}</span>
14	by <span class="author">{{ comment.author_with_url }}</span>
15	</p>
16</div>