2012-06-23 10:43:01 +02:00
|
|
|
{% load staticfiles %}
|
|
|
|
{% load i18n %}
|
|
|
|
{% load tags %}
|
|
|
|
|
|
|
|
<ul style="line-height: 180%">
|
|
|
|
{% for assignment in assignments %}
|
|
|
|
<li class="{% if assignment.active %}activeline{% endif %}">
|
|
|
|
<a href="{% url projector_activate_slide assignment.sid %}" class="activate_link {% if assignment.active %}active{% endif %}">
|
|
|
|
<div></div>
|
|
|
|
</a>
|
|
|
|
<a href="{% model_url assignment 'delete' %}" title="{% trans 'Delete' %}" class="icon delete right">
|
|
|
|
<span></span>
|
|
|
|
</a>
|
|
|
|
<a href="{% model_url assignment 'edit' %}" title="{% trans 'Edit' %}" class="icon edit right">
|
|
|
|
<span></span>
|
|
|
|
</a>
|
|
|
|
<a href="{% url projctor_preview_slide assignment.sid %}" title="{% trans 'Preview' %}" class="icon preview right">
|
|
|
|
<span></span>
|
|
|
|
</a>
|
|
|
|
<a href="{% model_url assignment 'view' %}">{{ assignment }}</a>
|
|
|
|
</li>
|
2012-06-30 14:17:15 +02:00
|
|
|
{% empty %}
|
|
|
|
<li>{% trans 'No assignments available.' %}</li>
|
2012-06-23 10:43:01 +02:00
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
|