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

index d40f8909561e378fbb5805d339990a2765128cc7..361221829bcaf6d120f99ed1795df7ee25979f55 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 }}</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>