From: Marek Stępniowski Date: Thu, 23 Apr 2009 20:29:08 +0000 (+0200) Subject: Displaying links to Wikipedia in templates. X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/6dc2540f663c92368314d610d161f3044fcc845c Displaying links to Wikipedia in templates. --- 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 %}