summaryrefslogtreecommitdiffstats
path: root/templates/blog/blog_list.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/blog/blog_list.html')
-rwxr-xr-xtemplates/blog/blog_list.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/templates/blog/blog_list.html b/templates/blog/blog_list.html
new file mode 100755
index 0000000..55c8c6f
--- /dev/null
+++ b/templates/blog/blog_list.html
@@ -0,0 +1,22 @@
+{% extends 'polls/base.html' %}
+{% block info %}
+template: "blog/blog_list.html"
+{% endblock %}
+
+
+{% block content %}
+ <h3><a href="/admin/blog/">Blogs</a> </h3>
+ {% for blog in blogs_summary %}
+ <div class="module">
+ <table summary="blogs">
+ <caption><a href="{{ object.id }}">{{ object.name }}</a> </caption>
+ <tr>
+ <th scope="row"><a href="{{ object.id }}/">{{ object.tagline }}</a></th>
+ <td><a href="post/add/" class="addlink">New post</a></td>
+ <td><a href="/admin/blog/blog/{{ object.id }}" class="changelink">Modificar</a></td>
+ </tr>
+ </table>
+ {% endfor %}
+{% for object in Blog.objects.all %}
+{% endfor %}
+{% endblock %}