summaryrefslogtreecommitdiffstats
path: root/templates/blog/author_posts.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/blog/author_posts.html')
-rwxr-xr-xtemplates/blog/author_posts.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/templates/blog/author_posts.html b/templates/blog/author_posts.html
new file mode 100755
index 0000000..ede500d
--- /dev/null
+++ b/templates/blog/author_posts.html
@@ -0,0 +1,25 @@
+{% extends 'polls/base.html' %}
+{% block content %}
+ {% for object in object_list %}
+ <div class="module">
+ {{ object.all }}
+ {% block title%} {{ object.headline }}{% endblock %}
+ <h3><a href="{{ object.blog.id }}"> {{ object.blog }}</a> - <a href="post/{{ object.id }}">{{ object.headline }} </a></h3>
+ <div class="date">{{ object.pub_date }} </div>
+ <div class=".MS">{{ object.body_text }}</div>
+ </div>
+ {% endfor %}
+<table border=1>
+<tr>
+<td>Author Name</td><td>Posts</td>
+</tr>
+{% for author in authors_list %}
+<tr>
+<td>{{author.name}} {{post.id}}</td>
+<td></td>
+</tr>
+{% endfor %}
+</table>
+
+{% endblock %}
+