diff --git a/src/colab/static/css/screen.css b/src/colab/static/css/screen.css index 7e7a059..0ef02c1 100644 --- a/src/colab/static/css/screen.css +++ b/src/colab/static/css/screen.css @@ -176,6 +176,7 @@ label.avatar-placeholder { color: #fff; margin-right: 5px; line-height: 2; + white-space: nowrap; } .tag:hover, @@ -345,3 +346,19 @@ form#set-custom-xmpp-status .custom-xmpp-status { #available-chatrooms .available-chatroom { margin-left: 1px; } + +.blog-post-item h3 a { + text-decoration: none; +} + +.blog-post-item h3 { + margin-bottom: 0.5em; +} + +.blog-post-item .post-meta { + margin-bottom: 2em; +} + +.blog-post-item .tags { + margin-top: 1em; +} diff --git a/src/planet/locale/pt_BR/LC_MESSAGES/django.po b/src/planet/locale/pt_BR/LC_MESSAGES/django.po index 42258b4..086aa54 100644 --- a/src/planet/locale/pt_BR/LC_MESSAGES/django.po +++ b/src/planet/locale/pt_BR/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2013-07-24 15:40-0300\n" +"POT-Creation-Date: 2013-07-24 18:36-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -25,6 +25,18 @@ msgstr "anterior" msgid "next" msgstr "próxima" +#: templates/feedzilla/_post_template.html:9 +msgid "From" +msgstr "De" + +#: templates/feedzilla/_post_template.html:9 +msgid "on" +msgstr "em" + +#: templates/feedzilla/_post_template.html:17 +msgid "Read original" +msgstr "Ler original" + #: templates/feedzilla/base.html:6 msgid "Planet" msgstr "Planet" @@ -38,5 +50,18 @@ msgid "Tags" msgstr "Tags" #: templates/feedzilla/base.html:22 -msgid "Blogs" -msgstr "Blogs" +msgid "Source Blogs" +msgstr "Blogs Fonte" + +#: templates/feedzilla/tag.html:5 +#, python-format +msgid "Posts with «%(tag)s» label" +msgstr "" + +#: templates/feedzilla/tag.html:14 +msgid "No posts with such label" +msgstr "" + +#, fuzzy +#~ msgid "Blogs fonte" +#~ msgstr "Blogs" diff --git a/src/planet/templates/feedzilla/_post_template.html b/src/planet/templates/feedzilla/_post_template.html new file mode 100644 index 0000000..5ef998a --- /dev/null +++ b/src/planet/templates/feedzilla/_post_template.html @@ -0,0 +1,30 @@ +{% load tagging_tags %} +{% load i18n %} + +
+ + +

{{ post.title }}

+ + + + +
+ {{ post.summary|safe }} +
+ +
+ {% trans "Read original" %} +
+ + {% if post.tags %} +
+ Tags: + {% tags_for_object post as tags %} + {% for tag in tags %} + {{ tag }} + {% endfor %} + +
+ {% endif %} +
diff --git a/src/planet/templates/feedzilla/base.html b/src/planet/templates/feedzilla/base.html index 72e62bb..153aeda 100644 --- a/src/planet/templates/feedzilla/base.html +++ b/src/planet/templates/feedzilla/base.html @@ -19,7 +19,7 @@ {% feedzilla_tag_cloud %}
-

{% trans 'Blogs' %}

+

{% trans 'Source Blogs' %}

{% feedzilla_donor_list %}
diff --git a/src/planet/templates/feedzilla/index.html b/src/planet/templates/feedzilla/index.html new file mode 100644 index 0000000..43907fd --- /dev/null +++ b/src/planet/templates/feedzilla/index.html @@ -0,0 +1,11 @@ +{% extends 'feedzilla/base.html' %} +{% load i18n %} + +{% block feedzilla_content %} + {% for post in page.object_list %} + {% include 'feedzilla/_post_template.html' %} +
+ {% endfor %} + + {% include "pagination.html" %} +{% endblock %} diff --git a/src/planet/templates/feedzilla/tag.html b/src/planet/templates/feedzilla/tag.html new file mode 100644 index 0000000..abce7f1 --- /dev/null +++ b/src/planet/templates/feedzilla/tag.html @@ -0,0 +1,16 @@ +{% extends 'feedzilla/base.html' %} +{% load i18n %} + +{% block feedzilla_content %} +

{% block title %}{% blocktrans %}Posts with «{{ tag }}» label{% endblocktrans %}{% endblock title %}

+
+{% if page.object_list %} + {% for post in page.object_list %} + {% include 'feedzilla/_post_template.html' %} +
+ {% endfor %} + {% include "pagination.html" %} +{% else %} +

{% trans "No posts with such label" %}

+{% endif %} +{% endblock %} -- libgit2 0.21.2