Permalink
Browse files

Bug fixed in template. Refs #4499

  • Loading branch information...
1 parent c9256d1 commit 409f23c74addf128c76e3a964bdae52a608630ac Jonas Fiala committed Jun 29, 2010
Showing with 5 additions and 3 deletions.
  1. +5 −3 ella/newman/templates/newman/tpl_tags/newman_frontend_admin.html
@@ -35,9 +35,11 @@
{% endif %}
<p>
- {% trans object.content_type.name %}:
- <strong style="font-weight:bold">{{ object }}</strong>,
- návštěv: <strong style="font-weight:bold">{{ hitcount.hits }}</strong>
+ {% if object.content_type %}
+ {% trans object.content_type.name %}:
+ <strong style="font-weight:bold">{{ object }}</strong>,
+ návštěv: <strong style="font-weight:bold">{{ hitcount.hits }}</strong>
+ {% endif %}
</p>
<div style="float: right;">

0 comments on commit 409f23c

Please sign in to comment.