From 6dc2540f663c92368314d610d161f3044fcc845c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20St=C4=99pniowski?= Date: Thu, 23 Apr 2009 22:29:08 +0200 Subject: [PATCH] Displaying links to Wikipedia in templates. --- wolnelektury/templates/catalogue/book_detail.html | 5 ++++- wolnelektury/templates/catalogue/tagged_object_list.html | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/wolnelektury/templates/catalogue/book_detail.html b/wolnelektury/templates/catalogue/book_detail.html index a31d8c43f..b9e95d0f7 100644 --- a/wolnelektury/templates/catalogue/book_detail.html +++ b/wolnelektury/templates/catalogue/book_detail.html @@ -100,7 +100,10 @@
  • Lektura na wiki projektu
  • Lektura w CBN Polona
  • {% if book.gazeta_link %} -
  • Lektura w Lektury.Gazeta.pl
  • +
  • Opis lektury w Lektury.Gazeta.pl
  • + {% endif %} + {% if book.wiki_link %} +
  • Opis lektury w Wikipedii
  • {% endif %} diff --git a/wolnelektury/templates/catalogue/tagged_object_list.html b/wolnelektury/templates/catalogue/tagged_object_list.html index d1d0b56b6..06e437d5c 100644 --- a/wolnelektury/templates/catalogue/tagged_object_list.html +++ b/wolnelektury/templates/catalogue/tagged_object_list.html @@ -33,6 +33,9 @@ {% if last_tag.gazeta_link %}

    {{ last_tag }} w Lektury.Gazeta.pl

    {% endif %} + {% if last_tag.wiki_link %} +

    {{ last_tag }} w Wikipedii

    + {% endif %}
      {% for book in object_list %}
    1. -- 2.20.1