Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bug fixed in template. Refs #4499

  • Loading branch information...
commit 409f23c74addf128c76e3a964bdae52a608630ac 1 parent c9256d1
Jonas Fiala authored
View
8 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;">
Please sign in to comment.
Something went wrong with that request. Please try again.