1fb1f17d15
It is now possible to define a default state and to submit extra stylefiles and javascript files when defining a widget in an app. This is done by a new metaclass in openslides.utils.dispatch. Also fixed some other tests.
32 lines
1.3 KiB
HTML
32 lines
1.3 KiB
HTML
{% extends 'core/widget.html' %}
|
|
|
|
{% load i18n %}
|
|
{% load tags %}
|
|
|
|
{% block content %}
|
|
<ul style="line-height: 180%">
|
|
{% for motion in motions %}
|
|
<li class="{% if motion.is_active_slide %}activeline{% endif %}">
|
|
<a href="{{ motion|absolute_url:'projector' }}" class="activate_link btn {% if motion.is_active_slide %}btn-primary{% endif %} btn-mini"
|
|
rel="tooltip" data-original-title="{% trans 'Show' %}">
|
|
<i class="icon-facetime-video {% if motion.is_active_slide %}icon-white{% endif %}"></i>
|
|
</a>
|
|
<a href="{{ motion|absolute_url:'update' }}"
|
|
rel="tooltip" data-original-title="{% trans 'Edit' %}" class="btn btn-mini right">
|
|
<i class="icon-pencil"></i>
|
|
</a>
|
|
<a href="{{ motion|absolute_url:'projector_preview' }}"
|
|
rel="tooltip" data-original-title="{% trans 'Preview' %}" class="btn btn-mini right">
|
|
<i class="icon-search"></i>
|
|
</a>
|
|
<a href="{{ motion|absolute_url }}">
|
|
{{ motion.identifier|add:' | '|default:'' }}
|
|
{{ motion }}
|
|
</a>
|
|
</li>
|
|
{% empty %}
|
|
<li>{% trans 'No motions available.' %}</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endblock %}
|