2012-10-24 11:04:23 +02:00
|
|
|
{% load i18n %}
|
|
|
|
{% load tags %}
|
|
|
|
|
|
|
|
<ul style="line-height: 180%">
|
|
|
|
{% for motion in motions %}
|
|
|
|
<li class="{% if motion.active %}activeline{% endif %}">
|
2013-01-31 10:19:56 +01:00
|
|
|
<a href="{% url 'projector_activate_slide' motion.sid %}" class="activate_link btn {% if motion.active %}btn-primary{% endif %} btn-mini" title="{% trans 'Show' %}">
|
|
|
|
<i class="icon-facetime-video {% if motion.active %}icon-white{% endif %}"></i>
|
|
|
|
</a>
|
|
|
|
<a href="{% model_url motion 'edit' %}" title="{% trans 'Edit' %}" class="btn btn-mini right">
|
|
|
|
<i class="icon-pencil"></i>
|
2012-10-24 11:04:23 +02:00
|
|
|
</a>
|
2013-01-31 10:19:56 +01:00
|
|
|
<a href="{% url 'projctor_preview_slide' motion.sid %}" title="{% trans 'Preview' %}" class="btn btn-mini right">
|
|
|
|
<i class="icon-search"></i>
|
2012-10-24 11:04:23 +02:00
|
|
|
</a>
|
|
|
|
<a href="{% model_url motion 'view' %}">
|
|
|
|
{{ motion.public_version.title }}
|
|
|
|
</a>
|
|
|
|
({% trans "motion" %}
|
|
|
|
{% if motion.number %}
|
|
|
|
{{ motion.number }})
|
|
|
|
{% else %}
|
|
|
|
<i>[{% trans "no number" %}]</i>)
|
|
|
|
{% endif %}
|
|
|
|
</li>
|
|
|
|
{% empty %}
|
|
|
|
<li>{% trans 'No motion available.' %}</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
|