From 24a7926d7bff68b09c54257901b5937d45f3c76c Mon Sep 17 00:00:00 2001 From: Matheus Figueiredo Date: Mon, 19 Aug 2013 16:59:30 -0300 Subject: [PATCH] Fixing planet's rss posts --- src/colab/static/css/screen.css | 8 ++++++++ src/planet/templates/feedzilla/_post_template.html | 9 ++------- src/planet/templates/feedzilla/index.html | 3 +++ 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/src/colab/static/css/screen.css b/src/colab/static/css/screen.css index 4a1f9ac..d3dcef0 100644 --- a/src/colab/static/css/screen.css +++ b/src/colab/static/css/screen.css @@ -148,3 +148,11 @@ fieldset>legend { width: 47px; height: 50px; } + +.blog-post-item .post-meta { + margin-bottom: 2em; +} + +.blog-post-item .tags { + margin-top: 1em; +} diff --git a/src/planet/templates/feedzilla/_post_template.html b/src/planet/templates/feedzilla/_post_template.html index 5ef998a..ab3539f 100644 --- a/src/planet/templates/feedzilla/_post_template.html +++ b/src/planet/templates/feedzilla/_post_template.html @@ -8,14 +8,9 @@
{% trans "From" %} {{ post.feed.author_or_title }} {% trans "on" %} {{ post.created }}
+ {{ post.summary|safe }} -
- {{ post.summary|safe }} -
- -
- {% trans "Read original" %} -
+ {% trans "Read original" %} {% if post.tags %}
diff --git a/src/planet/templates/feedzilla/index.html b/src/planet/templates/feedzilla/index.html index 43907fd..5cd544a 100644 --- a/src/planet/templates/feedzilla/index.html +++ b/src/planet/templates/feedzilla/index.html @@ -2,10 +2,13 @@ {% load i18n %} {% block feedzilla_content %} + +
{% for post in page.object_list %} {% include 'feedzilla/_post_template.html' %}
{% endfor %} {% include "pagination.html" %} +
{% endblock %} -- libgit2 0.21.2