If there's no person, output a "missing info" line instead of a blank

line.  Makes explicit the problem 1 in ticket #232 instead of implying
that we've supplied all the information.
 - Legacy-Id: 924
This commit is contained in:
Bill Fenner 2007-09-05 17:30:11 +00:00
parent 9f0f77c5bd
commit 6cd7612f2c

View file

@ -41,7 +41,11 @@
{% if author.email %}
<a href="mailto:{{ author.email }}">{{ author.person }}</a>
{% else %}
{% if author.person %}
{{ author.person }}
{% else %}
Missing author info #{{ author.person_id }}
{% endif %}
{% endif %}
<br>
{% endfor %}