Commit 24a7926d7bff68b09c54257901b5937d45f3c76c

Authored by Matheus Figueiredo
1 parent adc7565e

Fixing planet's rss posts

src/colab/static/css/screen.css
@@ -148,3 +148,11 @@ fieldset>legend { @@ -148,3 +148,11 @@ fieldset>legend {
148 width: 47px; 148 width: 47px;
149 height: 50px; 149 height: 50px;
150 } 150 }
  151 +
  152 +.blog-post-item .post-meta {
  153 + margin-bottom: 2em;
  154 +}
  155 +
  156 +.blog-post-item .tags {
  157 + margin-top: 1em;
  158 +}
src/planet/templates/feedzilla/_post_template.html
@@ -8,14 +8,9 @@ @@ -8,14 +8,9 @@
8 8
9 <div class="post-meta">{% trans "From" %} <a href="{{ post.feed.site_url }}">{{ post.feed.author_or_title }}</a> {% trans "on" %} {{ post.created }}</div> 9 <div class="post-meta">{% trans "From" %} <a href="{{ post.feed.site_url }}">{{ post.feed.author_or_title }}</a> {% trans "on" %} {{ post.created }}</div>
10 10
  11 + {{ post.summary|safe }}
11 12
12 - <div class="content">  
13 - {{ post.summary|safe }}  
14 - </div>  
15 -  
16 - <div>  
17 - <b><a href="{{ post.get_absolute_url }}">{% trans "Read original" %}</a></b>  
18 - </div> 13 + <b><a href="{{ post.get_absolute_url }}">{% trans "Read original" %}</a></b>
19 14
20 {% if post.tags %} 15 {% if post.tags %}
21 <div class="tags"> 16 <div class="tags">
src/planet/templates/feedzilla/index.html
@@ -2,10 +2,13 @@ @@ -2,10 +2,13 @@
2 {% load i18n %} 2 {% load i18n %}
3 3
4 {% block feedzilla_content %} 4 {% block feedzilla_content %}
  5 +
  6 +<div class="col-lg-9">
5 {% for post in page.object_list %} 7 {% for post in page.object_list %}
6 {% include 'feedzilla/_post_template.html' %} 8 {% include 'feedzilla/_post_template.html' %}
7 <hr> 9 <hr>
8 {% endfor %} 10 {% endfor %}
9 11
10 {% include "pagination.html" %} 12 {% include "pagination.html" %}
  13 +</div>
11 {% endblock %} 14 {% endblock %}