From 47f8090f9e8c6e91ae95578ca43664b6b18fe795 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=81ukasz=20Rekucki?= Date: Tue, 11 May 2010 16:32:54 +0200 Subject: [PATCH] Changes "/static/" to {{ STATIC_URL }} in templates. --- wolnelektury.vhost.tmpl | 2 -- wolnelektury/templates/1percent.html | 16 ++++++++-------- wolnelektury/templates/404.html | 4 ++-- wolnelektury/templates/500.html | 4 ++-- wolnelektury/templates/base.html | 16 ++++++++-------- .../templates/catalogue/book_detail.html | 8 ++++---- .../templates/catalogue/book_fragments.html | 2 +- .../templates/catalogue/book_stub_detail.html | 2 +- wolnelektury/templates/catalogue/book_text.html | 4 ++-- wolnelektury/templates/catalogue/main_page.html | 2 +- .../templates/catalogue/search_no_hits.html | 2 +- .../templates/catalogue/tagged_object_list.html | 4 ++-- .../templates/info/voluntary_services.html | 12 ++++++------ 13 files changed, 38 insertions(+), 40 deletions(-) diff --git a/wolnelektury.vhost.tmpl b/wolnelektury.vhost.tmpl index fbd21a9a1..6fac7562d 100644 --- a/wolnelektury.vhost.tmpl +++ b/wolnelektury.vhost.tmpl @@ -1,6 +1,5 @@ ServerName $DOMAIN - ServerAlias $DOMAIN_ALIASES ServerAdmin $ADMIN_EMAIL WSGIDaemonProcess $PROJECT_NAME user=$WSGI_USER group=$WSGI_USER processes=$WSGI_PROCESSES threads=$WSGI_THREADS display-name=%{GROUP} @@ -14,7 +13,6 @@ Alias /media $MEDIA_ROOT - Options Indexes, FollowLinks Order allow,deny Allow from all diff --git a/wolnelektury/templates/1percent.html b/wolnelektury/templates/1percent.html index e53caeefd..d7bbdc0aa 100644 --- a/wolnelektury/templates/1percent.html +++ b/wolnelektury/templates/1percent.html @@ -4,10 +4,10 @@ {% block title %}1% podatku na WolneLektury.pl{% endblock title %} {% block extrahead %} - - - - + + + + {% endblock extrahead %} {% block bodycontent %} @@ -15,11 +15,11 @@ @@ -41,7 +41,7 @@

Przy wypełnianiu formularza PIT w polu wniosek o przekazanie 1% podatku na rzecz OPP wpisz:

Fundacja Nowoczesna Polska
 KRS 0000070056
- + 1% dla OPP

Skorzystaj z programu ułatwiającego przygotowanie deklaracji podatkowej on-line.

diff --git a/wolnelektury/templates/404.html b/wolnelektury/templates/404.html index b4968a248..b761b4866 100644 --- a/wolnelektury/templates/404.html +++ b/wolnelektury/templates/404.html @@ -6,12 +6,12 @@ 404 - {% trans "Site does not exist" %} - WolneLektury.pl - + - +

{% trans "Site does not exist" %}

{% trans "We are sorry, but this site does not exist. Please check if you entered correct address or go to "%} {% trans "homepage" %}. diff --git a/wolnelektury/templates/500.html b/wolnelektury/templates/500.html index e778d4fbd..702d9a4d8 100644 --- a/wolnelektury/templates/500.html +++ b/wolnelektury/templates/500.html @@ -6,12 +6,12 @@ 500 - {% trans "Server error" %} WolneLektury.pl - + - +

{% trans "Server error" %}

{% trans "We are sorry for your inconvenience, but server error occured. We are working on fixing it as soon as possible. Meanwhile, please go to " %}{% trans "homepage" %}. diff --git a/wolnelektury/templates/base.html b/wolnelektury/templates/base.html index 7538206cf..430e09346 100644 --- a/wolnelektury/templates/base.html +++ b/wolnelektury/templates/base.html @@ -6,7 +6,7 @@ {% block title %}WolneLektury.pl{% endblock %} - + {% compressed_css "all" %} {% compressed_js "jquery" %} {% compressed_js "all" %} @@ -14,10 +14,10 @@ {% endblock %} - +

{% block bodycontent %}
{% chunk "top-message" %} @@ -28,7 +28,7 @@
@@ -93,7 +93,7 @@
-

* {% trans "Loading" %}

+

* {% trans "Loading" %}

{% endblock bodycontent %} diff --git a/wolnelektury/templates/catalogue/book_detail.html b/wolnelektury/templates/catalogue/book_detail.html index f4363539f..e4afcb787 100644 --- a/wolnelektury/templates/catalogue/book_detail.html +++ b/wolnelektury/templates/catalogue/book_detail.html @@ -41,7 +41,7 @@ {% endif %} {% if book.mp3_file %}
- +

{% trans "Artist" %}: {{ book.get_extra_info_value.artist_name }}

{% if book.get_extra_info_value.director_name %}

{% trans "Director" %}: {{ book.get_extra_info_value.director_name }}

@@ -51,8 +51,8 @@ {% if book.mp3_file %}{% trans "Download MP3" %}{% endif %} {% if book.ogg_file %}{% trans "Download Ogg Vorbis" %}{% endif %} {% if book.mp3_file %} - - + + @@ -128,7 +128,7 @@
-

* {% trans "Loading" %}

+

* {% trans "Loading" %}

{% endblock %} \ No newline at end of file diff --git a/wolnelektury/templates/catalogue/book_fragments.html b/wolnelektury/templates/catalogue/book_fragments.html index 0a90e459c..550787d28 100644 --- a/wolnelektury/templates/catalogue/book_fragments.html +++ b/wolnelektury/templates/catalogue/book_fragments.html @@ -32,7 +32,7 @@
-

* {% trans "Loading" %}

+

* {% trans "Loading" %}

{% endblock %} \ No newline at end of file diff --git a/wolnelektury/templates/catalogue/book_stub_detail.html b/wolnelektury/templates/catalogue/book_stub_detail.html index 5037ecb8f..387e123e9 100644 --- a/wolnelektury/templates/catalogue/book_stub_detail.html +++ b/wolnelektury/templates/catalogue/book_stub_detail.html @@ -31,7 +31,7 @@
-

* Ładowanie

+

* Ładowanie

{% endblock %} \ No newline at end of file diff --git a/wolnelektury/templates/catalogue/book_text.html b/wolnelektury/templates/catalogue/book_text.html index 55eef8ebd..2b800f5b9 100644 --- a/wolnelektury/templates/catalogue/book_text.html +++ b/wolnelektury/templates/catalogue/book_text.html @@ -6,7 +6,7 @@ {% block title %}WolneLektury.pl{% endblock %} - + {% compressed_css "book" %} {% compressed_js "jquery" %} {% compressed_js "book" %} @@ -20,7 +20,7 @@
diff --git a/wolnelektury/templates/catalogue/main_page.html b/wolnelektury/templates/catalogue/main_page.html index be6d9004f..defa62a6f 100644 --- a/wolnelektury/templates/catalogue/main_page.html +++ b/wolnelektury/templates/catalogue/main_page.html @@ -43,7 +43,7 @@

{% trans " See more" %} ⇒

- +

Czytamy Słuchając {% trans "are professional recordings of literary texts from our repository, available on free license in MP3 and Ogg Vorbis formats as well as in DAISY system." %}

{% trans "See more" %} ⇒

diff --git a/wolnelektury/templates/catalogue/search_no_hits.html b/wolnelektury/templates/catalogue/search_no_hits.html index 8e4e788a4..764260651 100644 --- a/wolnelektury/templates/catalogue/search_no_hits.html +++ b/wolnelektury/templates/catalogue/search_no_hits.html @@ -17,7 +17,7 @@
-

* Ładowanie

+

* Ładowanie

{% endblock %} \ No newline at end of file diff --git a/wolnelektury/templates/catalogue/tagged_object_list.html b/wolnelektury/templates/catalogue/tagged_object_list.html index d36fb1d57..9f269e1a2 100644 --- a/wolnelektury/templates/catalogue/tagged_object_list.html +++ b/wolnelektury/templates/catalogue/tagged_object_list.html @@ -39,7 +39,7 @@
  • do czytania na małych ekranach, np. na komórce
  • do słuchania w ulubionym odtwarzaczu MP3
  • do słuchania — otwarty format Fundacji Xiph.Org
  • -
  • Uaktualniam listę formatów książek na półce.
  • +
  • Uaktualniam listę formatów książek na półce.
  • @@ -127,7 +127,7 @@
    -

    * Ładowanie

    +

    * Ładowanie

    {% endblock %} \ No newline at end of file diff --git a/wolnelektury/templates/info/voluntary_services.html b/wolnelektury/templates/info/voluntary_services.html index b835671b3..01daa5ec7 100644 --- a/wolnelektury/templates/info/voluntary_services.html +++ b/wolnelektury/templates/info/voluntary_services.html @@ -41,14 +41,14 @@

    - Raport z realizacji projektu „Wolontariat dla wiedzy". + Raport z realizacji projektu „Wolontariat dla wiedzy".

    - - - - - + + + + +

    -- 2.20.1