From: Aleksander Ɓukasz Date: Fri, 21 Jun 2013 14:02:46 +0000 (+0200) Subject: Merge branch 'master' into funding X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/5f176bb52a7a59bf88f5728e60a3a62e12fb3d54?ds=inline;hp=-c Merge branch 'master' into funding --- 5f176bb52a7a59bf88f5728e60a3a62e12fb3d54 diff --combined apps/pdcounter/templates/pdcounter/author_detail.html index 7ed5fa7b2,fc3bd5b8c..50eef63fb --- a/apps/pdcounter/templates/pdcounter/author_detail.html +++ b/apps/pdcounter/templates/pdcounter/author_detail.html @@@ -1,10 -1,9 +1,10 @@@ {% extends "base.html" %} {% load i18n %} +{% load time_tags %} {% block titleextra %}{{ author.name }}{% endblock %} - {% block metadescription %}Licznik domeny publicznej: {{author.name}}.{% endblock %} + {% block metadescription %}{% trans "Public domain counter" %}: {{author.name}}.{% endblock %} {% block bodyid %}author-detail{% endblock %} @@@ -37,11 -36,11 +37,11 @@@ {% trans "Find out why Internet libraries can't publish this author's works." %}

{% else %} {% if author.in_pd %} -

{% trans "This author's works are in public domain and will be published on Internet school library of Wolne Lektury soon." %}

+

{% trans "This author's works are in public domain and will be published on Internet library of Wolne Lektury soon." %}

{% else %}

{% trans "This author's works will become part of public domain and will be allowed to be published without restrictions in" %}

-
+

{% trans "Find out why Internet libraries can't publish this author's works." %}

{% endif %} diff --combined apps/pdcounter/templates/pdcounter/book_stub_detail.html index af91fcbb6,40ddbd8ee..640d68ebe --- a/apps/pdcounter/templates/pdcounter/book_stub_detail.html +++ b/apps/pdcounter/templates/pdcounter/book_stub_detail.html @@@ -1,10 -1,9 +1,10 @@@ {% extends "base.html" %} {% load i18n %} +{% load time_tags %} {% block titleextra %}{{ book.title }}{% endblock %} - {% block metadescription %}Licznik domeny publicznej: {{ book.title }}.{% endblock %} + {% block metadescription %}{% trans "Public domain counter" %}: {{ book.title }}.{% endblock %} {% block bodyid %}book-stub-detail{% endblock %} @@@ -14,11 -13,11 +14,11 @@@
{% if book.in_pd %} -

{% trans "This work is in public domain and will be published on Internet school library of Wolne Lektury soon." %}

+

{% trans "This work is in public domain and will be published on Internet library of Wolne Lektury soon." %}

{% else %} {% if book.pd %}

{% trans "This work will become part of public domain and will be allowed to be published without restrictions in" %}

-
+

{% trans "Find out why Internet libraries can't publish this work." %}

{% else %}

{% trans "This work is copyrighted." %} diff --combined apps/wolnelektury_core/static/css/main_page.css index a53b9de5e,3761b9e22..4bf75ea23 --- a/apps/wolnelektury_core/static/css/main_page.css +++ b/apps/wolnelektury_core/static/css/main_page.css @@@ -10,7 -10,6 +10,7 @@@ } #promo-box-header h2 { font-size: 1.3em; + margin: 0; } #promo-box-body { border-bottom: 2px solid #efefef; @@@ -46,11 -45,13 +46,15 @@@ padding-top: 1.9em; height: 3.2em; padding-left: 1.9em; + margin: 0; + font-size: 1em; } .main-last span { font-size: 1.1em; + color: black; + } + .main-last span:after { + content: " >"; } @@@ -66,8 -67,6 +70,8 @@@ color: #017e85; height: 2.8em; padding-top: 2.5em; + font-size: 1em; + margin: 0; } .infopages-box h2 span { font-size: 1.1em; diff --combined apps/wolnelektury_core/templates/superbase.html index 0d1ffa6a7,3eaf96216..a338b97ff --- a/apps/wolnelektury_core/templates/superbase.html +++ b/apps/wolnelektury_core/templates/superbase.html @@@ -2,7 -2,7 +2,7 @@@ {% load cache compressed i18n %} {% load static from staticfiles %} - {% load catalogue_tags reporting_stats sponsor_tags %} + {% load catalogue_tags funding_tags reporting_stats sponsor_tags %} @@@ -32,10 -32,9 +32,9 @@@ {% endblock %} - {% include "annoy.html" %} {% block bodycontent %} - + {% funding link=1 closeable=1 add_class="funding-top-header" %}

-
- +