summaryrefslogtreecommitdiffstats
path: root/templates/blog/post_list.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/blog/post_list.html')
-rwxr-xr-xtemplates/blog/post_list.html35
1 files changed, 35 insertions, 0 deletions
diff --git a/templates/blog/post_list.html b/templates/blog/post_list.html
new file mode 100755
index 0000000..5a89652
--- /dev/null
+++ b/templates/blog/post_list.html
@@ -0,0 +1,35 @@
+{% extends 'polls/base.html' %}
+
+{% block content %}
+ {% if object_list %}
+ object!
+ check the template as is prepared for object_list!
+ {% endif %}
+{% if object %}
+ <h3><a href="/admin/blog/">Blogs</a> </h3>
+ {% for object in post_list %}
+ <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>
+ {% for object in posts_list %}
+ <tr>
+ <td> {{ object.name }}</td>
+ </tr>
+ {% endfor %}
+
+ </table>
+ {% endfor %}
+{% endif %}
+test
+{% debug %}
+{% endblock %}
+{% block info %}
+{{ object.list }}
+template: "blog/post_list.html"
+{% endblock %}
+