Source

meblog / templates / admin / postlist.html

Diff from to

File templates/admin/postlist.html

 
 {% block content %}
 	<h3>Posts</h3>
+    
+    <a class="tablemenu" href="/post/new/">New Post</a>
+    <div class="clear"></div>
 	<table>
 		<thead>
 			<tr>
 			</tr>
 		</thead>
 		<tbody>
-		{% if posts.count > 0 %}
+		{% if posts %}
 			{% for p in posts %}
 				<tr>
 					<td><a href="{{ p.get_delete_url }}"><img src="/resources/img/small/trash.png" border="0" title="Delete"></a> |