diff --git a/radiocampus/templates/aircox/widgets/item.html b/radiocampus/templates/aircox/widgets/item.html index 7871978..51b0401 100644 --- a/radiocampus/templates/aircox/widgets/item.html +++ b/radiocampus/templates/aircox/widgets/item.html @@ -19,9 +19,14 @@
{% if object|model_name == "Episode" %} -
- {{ object.pub_date|date:"d/m/Y" }}
-
+
+ {% if object.status %} + {{ object.pub_date|date:"d/m/Y" }} + {% else %} + {% trans "Draft" %} + {% endif %} +
+
{% endif %} {% block title %}{{ title|default:"" }}{% endblock %}