aboutsummaryrefslogtreecommitdiffstats
path: root/ryuslash/aggregator/templates/aggregator/posts.html
diff options
context:
space:
mode:
authorGravatar Tom Willemse2013-05-23 00:35:46 +0200
committerGravatar Tom Willemse2013-05-23 00:39:41 +0200
commitc14ccf7079c8d68473e80df9c20aaac735f69447 (patch)
treeba2f807fd16aa606d5e624b33ae065d96ffb426d /ryuslash/aggregator/templates/aggregator/posts.html
parent91283adebd1531fc7e676fcd29734b46a989525f (diff)
downloadryuslash.org-c14ccf7079c8d68473e80df9c20aaac735f69447.tar.gz
ryuslash.org-c14ccf7079c8d68473e80df9c20aaac735f69447.zip
Add the all category and show feeds on page
Diffstat (limited to 'ryuslash/aggregator/templates/aggregator/posts.html')
-rw-r--r--ryuslash/aggregator/templates/aggregator/posts.html13
1 files changed, 11 insertions, 2 deletions
diff --git a/ryuslash/aggregator/templates/aggregator/posts.html b/ryuslash/aggregator/templates/aggregator/posts.html
index 851a95e..0a97729 100644
--- a/ryuslash/aggregator/templates/aggregator/posts.html
+++ b/ryuslash/aggregator/templates/aggregator/posts.html
@@ -11,6 +11,15 @@
<div class="span3">
<img src="https://secure.gravatar.com/avatar/d3af11dc82b44c4f78517c2036271d5c?s=210" />
<br />
+ <br />
+ Feeds:
+ {% for feed in feeds %}
+ <a href="{{ feed.base_url }}" class="btn btn-block">
+ {{ feed.name }}
+ </a>
+ {% empty %}
+ <br />None...
+ {% endfor %}
</div>
<div class="span9">
{% for post in list.object_list %}
@@ -44,7 +53,7 @@
<ul>
{% if list.has_previous %}
<li>
- <a href="/{{ category }}/{{ list.previous_page_number }}/">
+ <a href="{% url 'index' cat=category page=list.previous_page_number %}">
Prev
</a>
</li>
@@ -54,7 +63,7 @@
{% if list.has_next %}
<li>
- <a href="/{{ category }}/{{ list.next_page_number }}">
+ <a href="{% url 'index' cat=category page=list.next_page_number %}">
Next
</a>
</li>