65 lines
2.6 KiB
HTML
65 lines
2.6 KiB
HTML
{% load i18n %}
|
|
{% load staticfiles %}
|
|
{% load tags %}
|
|
|
|
<td>
|
|
<span class="close_link {% if item.closed %}closed{% else %}open{% endif %}">
|
|
{% if perms.agenda.can_manage_agenda %}
|
|
<a href="{% if item.closed %}{% url 'item_open' item.id %}{% else %}{% url 'item_close' item.id %}{% endif %}"
|
|
class="btn btn-mini" title="{% trans 'Reopen item' %}">
|
|
<i class="icon- custom-icons"></i>
|
|
</a>
|
|
{% else %}
|
|
<i class="icon- custom-icons"></i>
|
|
{% endif %}
|
|
</span>
|
|
</td>
|
|
<td>
|
|
{% for p in item.get_ancestors %}
|
|
<div class="indentation"> </div>
|
|
{% endfor %}
|
|
{% if perms.agenda.can_manage_agenda %}
|
|
<div class="dragcell"></div>
|
|
{% endif %}
|
|
<a href="{% model_url item 'view' %}">{{ item }}</a>
|
|
{{ item.get_title_supplement|safe }}
|
|
</td>
|
|
{% if perms.agenda.can_manage_agenda %}
|
|
<td class="optional">
|
|
{{ item.comment|first_line }}
|
|
</td>
|
|
{% endif %}
|
|
{% if perms.agenda.can_manage_agenda or perms.projector.can_manage_projector %}
|
|
<td>
|
|
<span style="width: 1px; white-space: nowrap;">
|
|
{% if perms.projector.can_manage_projector %}
|
|
<a href="{% url 'projector_activate_slide' item.sid %}" class="activate_link btn {% if item.active %}btn-primary{% endif %} btn-mini" title="{% trans 'Activate item' %}">
|
|
<i class="icon icon-facetime-video {% if item.active %}icon-white{% endif %}"></i>
|
|
</a>
|
|
{% endif %}
|
|
{% if perms.agenda.can_manage_agenda %}
|
|
<a href="{% model_url item 'edit' %}" title="{% trans 'Edit' %}" class="btn btn-mini">
|
|
<i class="icon-pencil"></i>
|
|
</a>
|
|
<a href="{% model_url item 'delete' %}" title="{% trans 'Delete' %}" class="btn btn-mini">
|
|
<i class="icon-remove"></i>
|
|
</a>
|
|
{% if not item.is_leaf_node %}
|
|
<a href="{% url 'projector_activate_slide' item.sid 'summary' %}" class="activate_link btn btn-mini" title="{% trans 'Activate summary for this item' %}">
|
|
<img src="{% static 'images/icons/summary.png' %}">
|
|
</a>
|
|
{% endif %}
|
|
{% endif %}
|
|
</span>
|
|
</td>
|
|
{% endif %}
|
|
{% if perms.agenda.can_manage_agenda %}
|
|
<td class="tabledrag-hide" style="display: none;">
|
|
{% with form=item.weight_form %}
|
|
{{ form.weight }}
|
|
{{ form.self }}
|
|
{{ form.parent }}
|
|
{% endwith %}
|
|
</td>
|
|
{% endif %}
|