From: Guillaume Pellerin Date: Fri, 12 Apr 2013 11:43:06 +0000 (+0200) Subject: fix bad if and td (closes: #125) X-Git-Tag: 1.4.5~2^2~4^2~2^2~11 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=7e43af9e1896a1d8e71b1b2f90417f5550090412;p=telemeta.git fix bad if and td (closes: #125) --- diff --git a/telemeta/templates/telemeta/mediaitem_add.html b/telemeta/templates/telemeta/mediaitem_add.html index dfbe69cd..3a252d3a 100644 --- a/telemeta/templates/telemeta/mediaitem_add.html +++ b/telemeta/templates/telemeta/mediaitem_add.html @@ -33,11 +33,12 @@ {{ field.errors }} {{ field.label_tag }}: - {% if field.html_name == "item-public_access" %} + {% if field.html_name == "item-public_access" %}  {% trans "Collection access status" %} : {% trans item.collection.public_access %}
 {% trans "Context access status" %} : {% trans access %}
 {% trans "Item access status" %} :
+ {% endif %} {{ field }} diff --git a/telemeta/templates/telemeta/mediaitem_copy.html b/telemeta/templates/telemeta/mediaitem_copy.html index 202b1238..bde5909d 100644 --- a/telemeta/templates/telemeta/mediaitem_copy.html +++ b/telemeta/templates/telemeta/mediaitem_copy.html @@ -44,7 +44,8 @@  {% trans "Collection access status" %} : {% trans item.collection.public_access %}
 {% trans "Context access status" %} : {% trans access %}
 {% trans "Item access status" %} :
- {{ field }} + {{ field }} + {% else %} {{ field }} {% endif %} diff --git a/telemeta/templates/telemeta/mediaitem_edit.html b/telemeta/templates/telemeta/mediaitem_edit.html index b079cb27..3441e6f2 100644 --- a/telemeta/templates/telemeta/mediaitem_edit.html +++ b/telemeta/templates/telemeta/mediaitem_edit.html @@ -43,6 +43,7 @@  {% trans "Context access status" %} : {% trans access %}
 {% trans "Item access status" %} :
{{ field }} + {% else %} {{ field }} {% endif %}