fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
db optimizations
[wolnelektury.git]
/
src
/
picture
/
templates
/
picture
/
picture_mini_box.html
diff --git
a/src/picture/templates/picture/picture_mini_box.html
b/src/picture/templates/picture/picture_mini_box.html
index
d8ebbf7
..
1ad2acc
100644
(file)
--- a/
src/picture/templates/picture/picture_mini_box.html
+++ b/
src/picture/templates/picture/picture_mini_box.html
@@
-7,10
+7,10
@@
<a href="{{ picture.get_absolute_url }}">
{% endif %}
{% if picture.image_file %}
<a href="{{ picture.get_absolute_url }}">
{% endif %}
{% if picture.image_file %}
- <img src="{% thumbnail picture.image_file "139x193" crop="center" as thumb %}{{ thumb.url }}{% empty %}{{ picture.image_file.url }}{% endthumbnail %}" alt="{{ author
_str
}} – {{ picture.title }}" class="cover" />
+ <img src="{% thumbnail picture.image_file "139x193" crop="center" as thumb %}{{ thumb.url }}{% empty %}{{ picture.image_file.url }}{% endthumbnail %}" alt="{{ author }} – {{ picture.title }}" class="cover" />
{% endif %}
<div class="desc">
{% endif %}
<div class="desc">
- <span class="mono author">{{ author
_str
}}</span>
+ <span class="mono author">{{ author }}</span>
<span class="title">{{ picture.title }}</span>
</div>
{% if with_link %}
<span class="title">{{ picture.title }}</span>
</div>
{% if with_link %}