summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/todolists/view.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/todolists/view.html b/templates/todolists/view.html
index 934e3ae8..1b9a9e37 100644
--- a/templates/todolists/view.html
+++ b/templates/todolists/view.html
@@ -76,8 +76,10 @@
<td>{% todopkg_details_link pkg %}</td>
{% if pkg.pkg.flag_date %}
<td><span class="flagged">{{ pkg.pkg.full_version }}</span></td>
- {% else %}
+ {% elif pkg.pkg %}
<td>{{ pkg.pkg.full_version }}</td>
+ {% else %}
+ <td></td>
{% endif %}
{% with staging=pkg.staging %}
<td>{% if staging %}{% pkg_details_link staging staging.full_version %}{% endif %}</td>