fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use years of birth and death in author descriptions.
[redakcja.git]
/
src
/
catalogue
/
templates
/
catalogue
/
author_description.html
diff --git
a/src/catalogue/templates/catalogue/author_description.html
b/src/catalogue/templates/catalogue/author_description.html
index
0950591
..
26c3532
100644
(file)
--- a/
src/catalogue/templates/catalogue/author_description.html
+++ b/
src/catalogue/templates/catalogue/author_description.html
@@
-4,6
+4,8
@@
<dd>
{% if obj.date_of_birth %}
{{ obj.date_of_birth }}
<dd>
{% if obj.date_of_birth %}
{{ obj.date_of_birth }}
+ {% elif obj.year_of_birth %}
+ {{ obj.year_of_birth }}
{% endif %}
{% if obj.place_of_birth %}
w
{% endif %}
{% if obj.place_of_birth %}
w
@@
-20,6
+22,8
@@
<dd>
{% if obj.date_of_death %}
{{ obj.date_of_death }}
<dd>
{% if obj.date_of_death %}
{{ obj.date_of_death }}
+ {% elif obj.year_of_death %}
+ {{ obj.year_of_death }}
{% endif %}
{% if obj.place_of_death %}
w
{% endif %}
{% if obj.place_of_death %}
w