PageRenderTime 313ms CodeModel.GetById 309ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/themes/default/templates/post_item.html

http://n23.googlecode.com/
HTML | 23 lines | 23 code | 0 blank | 0 comment | 0 complexity | 3f95f1351b4f960d2323c1ece72b0aa0 MD5 | raw file
 1<div class="post" id="p{{ post.key.id }}">
 2	<h2 class="title"><a href="/blog/post/{{ post.key.id }}" title="{{ post.title|escape }}">{{ post.title|escape }}</a></h2>
 3	{% if post.tags %}
 4	<div class="tags">
 5		Tags:
 6	{% for tag in post.tags %}
 7	<a href="/blog/tag/{{ tag }}" title="tag: {{ tag }}">{{ tag }}</a>{% if not forloop.last %}, {% endif %}
 8	{% endfor %}
 9	</div>
10	{% endif %}
11	{% comment %}<div>{{ post.content|escape|urlize|linebreaksbr}}</div>{% endcomment %}
12	{% comment %}<div>{{ post.content|wiki}}</div> {% endcomment %}
13	<div class="entry">{{ post.content }}</div>
14	<p class="meta">
15		<span><a href="/blog/post/{{ post.key.id }}#comments" title="comment"> {{ post.comment_count }} </a></span>
16		{% if self.is_admin %}
17		<span class="fakelink" onclick="DeletePost('{{ post.key.id }}')">Delete</span>
18		<span class="fakelink" onclick="EditPost('{{ post.key.id }}')">Edit</span>
19		{% endif %}
20		<span class="date"> {{ post.date|timezone:8|date:"Y-m-d H:i:s" }}</span>
21		<span class="author">by {{ post.author }}</span>
22	</p>
23</div>