2012-05-20 20:15:49 +02:00
|
|
|
{% load i18n %}
|
2012-06-11 13:43:48 +02:00
|
|
|
{% load tags %}
|
2012-05-20 20:15:49 +02:00
|
|
|
|
2012-07-04 03:19:42 +02:00
|
|
|
<ul style="line-height: 180%">
|
|
|
|
<li class="{% if welcomepage_is_active %}activeline{% endif %}">
|
2013-11-06 00:11:13 +01:00
|
|
|
<a href="{% url 'projector_activate_slide' 'default' %}" class="activate_link btn {% if welcomepage_is_active %}btn-primary{% endif %} btn-mini"
|
|
|
|
rel="tooltip" data-original-title="{% trans 'Show' %}">
|
2013-01-31 10:19:56 +01:00
|
|
|
<i class="icon-facetime-video {% if welcomepage_is_active %}icon-white{% endif %}"></i>
|
|
|
|
</a>
|
2013-11-06 00:11:13 +01:00
|
|
|
<a href="{% url 'projctor_preview_welcomepage' %}"
|
|
|
|
rel="tooltip" data-original-title="{% trans 'Preview' %}" class="btn btn-mini right">
|
2013-01-31 10:19:56 +01:00
|
|
|
<i class="icon-search"></i>
|
2012-07-04 03:19:42 +02:00
|
|
|
</a>
|
2013-05-06 20:17:13 +02:00
|
|
|
{% get_config 'welcome_title' %}
|
2012-07-04 03:19:42 +02:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<hr>
|
2012-05-20 20:15:49 +02:00
|
|
|
<ul style="line-height: 180%">
|
2012-06-11 13:43:48 +02:00
|
|
|
{% for slide in slides %}
|
2013-08-04 12:59:11 +02:00
|
|
|
<li class="{% if slide.is_active_slide %}activeline{% endif %}">
|
2013-11-06 00:11:13 +01:00
|
|
|
<a href="{{ slide|absolute_url:'projector' }}" class="activate_link btn {% if slide.is_active_slide %}btn-primary{% endif %} btn-mini"
|
|
|
|
rel="tooltip" data-original-title="{% trans 'Show' %}">
|
2013-08-04 12:59:11 +02:00
|
|
|
<i class="icon-facetime-video {% if slide.is_active_slide %}icon-white{% endif %}"></i>
|
2013-01-31 10:19:56 +01:00
|
|
|
</a>
|
2013-08-04 12:59:11 +02:00
|
|
|
<a href="{{ slide|absolute_url:'update' }}">{{ slide }}</a>
|
2013-11-06 00:11:13 +01:00
|
|
|
<a href="{{ slide|absolute_url:'delete' }}"
|
|
|
|
rel="tooltip" data-original-title="{% trans 'Delete' %}" class="btn btn-mini right">
|
2012-09-10 23:28:19 +02:00
|
|
|
<i class="icon-remove"></i>
|
2012-06-11 13:43:48 +02:00
|
|
|
</a>
|
2013-11-06 00:11:13 +01:00
|
|
|
<a href="{{ slide|absolute_url:'update' }}"
|
|
|
|
rel="tooltip" data-original-title="{% trans 'Edit' %}" class="btn btn-mini right">
|
2013-01-31 10:19:56 +01:00
|
|
|
<i class="icon-pencil"></i>
|
|
|
|
</a>
|
2013-11-06 00:11:13 +01:00
|
|
|
<a href="{{ slide|absolute_url:'projector_preview' }}"
|
|
|
|
rel="tooltip" data-original-title="{% trans 'Preview' %}" class="btn btn-mini right">
|
2012-09-10 23:28:19 +02:00
|
|
|
<i class="icon-search"></i>
|
2012-06-11 13:43:48 +02:00
|
|
|
</a>
|
2012-05-20 20:15:49 +02:00
|
|
|
</li>
|
2012-06-30 14:17:15 +02:00
|
|
|
{% empty %}
|
|
|
|
<li>{% trans 'No items available.' %}</li>
|
2012-05-20 20:15:49 +02:00
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
2013-11-06 00:11:13 +01:00
|
|
|
<a href="{% url 'customslide_new' %}" class="btn btn-mini right" style="margin: 10px 0;">
|
2013-01-31 10:19:56 +01:00
|
|
|
<i class="icon-plus"></i>{% trans 'New' %}
|
|
|
|
</a>
|