fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nicer fragments: no anchors in text, prettier short_text
[wolnelektury.git]
/
wolnelektury
/
templates
/
catalogue
/
tagged_object_list.html
diff --git
a/wolnelektury/templates/catalogue/tagged_object_list.html
b/wolnelektury/templates/catalogue/tagged_object_list.html
index
21aef82
..
45459f1
100644
(file)
--- a/
wolnelektury/templates/catalogue/tagged_object_list.html
+++ b/
wolnelektury/templates/catalogue/tagged_object_list.html
@@
-1,6
+1,6
@@
{% extends "base.html" %}
{% load i18n %}
{% extends "base.html" %}
{% load i18n %}
-{% load catalogue_tags switch_tag %}
+{% load catalogue_tags switch_tag
social_tags
%}
{% block titleextra %}{% title_from_tags tags %}{% endblock %}
{% block titleextra %}{% title_from_tags tags %}{% endblock %}
@@
-59,43
+59,14
@@
<div class="right-column">
<div class="right-column">
- <a href="" class="cite">
- <div class="cite-body">
- Dobranoc, obróć jeszcze raz na mnie oczęta,<br/>
- (…) Daj mi pierś ucałować<br/>
- Dobranoc, zapięta.
- </div>
- <p class="mono">Adam Mickiewicz, Dziady część III</p>
- </a>
+ {% cite_promo tags 1 %}
<div class="see-also">
<div class="see-also">
+ {% if last_tag.gazeta_link or last_tag.wiki_link %}
<h2 class='mono'>{% trans "See also" %}:</h2>
<ul>
<h2 class='mono'>{% trans "See also" %}:</h2>
<ul>
- <li><a href="">Wiki</a></li>
- <li><a href="">Gazeta</a></li>
- </ul>
- </div>
-
- <div class="download">
- <h2 class='mono'>{% trans "Download" %}:</h2>
- <ul>
- <li><a href="">wszystko</a></li>
- <li><a href="">część</a></li>
- </ul>
- </div>
-
- </div>
-
- <div class="clearboth"></div>
-
-
-
-
- <div id="books-list">
-
-
{% if last_tag.gazeta_link %}
{% if last_tag.gazeta_link %}
- <
p
><a href="{{ last_tag.gazeta_link }}">
+ <
li
><a href="{{ last_tag.gazeta_link }}">
{% switch last_tag.category %}
{% case "author" %}
{% trans "Read work's study of this author on Lektury.Gazeta.pl" %}
{% switch last_tag.category %}
{% case "author" %}
{% trans "Read work's study of this author on Lektury.Gazeta.pl" %}
@@
-108,10
+79,10
@@
{% else %}
{% trans "Read related study on Lektury.Gazeta.pl" %}
{% endswitch %}
{% else %}
{% trans "Read related study on Lektury.Gazeta.pl" %}
{% endswitch %}
- </a></
p
>
+ </a></
li
>
{% endif %}
{% if last_tag.wiki_link %}
{% endif %}
{% if last_tag.wiki_link %}
- <
p
><a href="{{ last_tag.wiki_link }}">
+ <
li
><a href="{{ last_tag.wiki_link }}">
{% switch last_tag.category %}
{% case "author" %}
{% trans "Read article about this author on Wikipedia" %}
{% switch last_tag.category %}
{% case "author" %}
{% trans "Read article about this author on Wikipedia" %}
@@
-124,9
+95,33
@@
{% else %}
{% trans "Read related article on Wikipedia" %}
{% endswitch %}
{% else %}
{% trans "Read related article on Wikipedia" %}
{% endswitch %}
- </a></
p
>
+ </a></
li
>
{% endif %}
{% endif %}
+
+
+ </ul>
+ {% endif %}
+ </div>
+
+ <div class="download">
+ {% comment %}
+ <h2 class='mono'>{% trans "Download" %}:</h2>
+ <ul>
+ <li><a href="">wszystko</a></li>
+ <li><a href="">część</a></li>
+ </ul>
+ {% endcomment %}
+ </div>
+
+ </div>
+
+ <div class="clearboth"></div>
+
+
+
+
+ <div id="books-list">
{% if object_list %}
{% work_list object_list %}
{% else %}
{% if object_list %}
{% work_list object_list %}
{% else %}