]> git.parisson.com Git - teleforma.git/commitdiff
add seminar status view for staff
authorGuillaume Pellerin <yomguy@parisson.com>
Tue, 7 Jan 2014 23:39:05 +0000 (00:39 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Tue, 7 Jan 2014 23:39:05 +0000 (00:39 +0100)
teleforma/templates/teleforma/seminars.html

index 361221829bcaf6d120f99ed1795df7ee25979f55..f3ff0069bac0e2934d52708226c07f89047ba733 100644 (file)
@@ -46,7 +46,7 @@ $(function() {
 <ul id="seminars">
 {% block courses %}
 {% for seminar in all_seminars %}
-   <li><a href="{% url teleforma-seminar-detail seminar.id %}">{{ seminar.title }}{%% if user.is_staff and seminar.status == 2 %}<img src="{{ STATIC_URL }}telemeta/images/ok.png" title="{% trans "published" %}" alt=""/>{% endif %}</a></li>
+   <li><a href="{% url teleforma-seminar-detail seminar.id %}">{{ seminar.title }}{% if user.is_staff and seminar.status == 2 %}<img src="{{ STATIC_URL }}telemeta/images/ok.png" title="{% trans "published" %}" alt=""/>{% endif %}</a></li>
  {% endfor %}
 {% endblock courses %}
 </ul>