2012-03-18 15:11:01 +01:00
|
|
|
{% load i18n %}
|
2012-04-14 14:51:56 +02:00
|
|
|
{% load staticfiles %}
|
2012-06-03 09:35:26 +02:00
|
|
|
{% load tags %}
|
2012-03-18 15:11:01 +01:00
|
|
|
|
2012-04-10 20:09:10 +02:00
|
|
|
<td>
|
2012-04-15 14:28:01 +02:00
|
|
|
{% if perms.agenda.can_manage_agenda %}
|
2012-04-18 18:29:31 +02:00
|
|
|
<a class="close_link {% if item.closed %}closed{% endif %}" href="{% if item.closed %}{% url item_open item.id %}{% else %}{% url item_close item.id %}{% endif %}">
|
2012-04-15 14:28:01 +02:00
|
|
|
<span></span>
|
|
|
|
</a>
|
|
|
|
{% elif item.closed %}
|
2012-04-23 21:27:22 +02:00
|
|
|
<img src="{% static 'images/icons/done.png' %}" title="{% trans 'Item closed' %}">
|
2012-04-10 20:09:10 +02:00
|
|
|
{% endif %}
|
|
|
|
</td>
|
2012-03-18 15:11:01 +01:00
|
|
|
<td>
|
|
|
|
{% for p in item.get_ancestors %}
|
|
|
|
<div class="indentation"> </div>
|
|
|
|
{% endfor %}
|
|
|
|
{% if perms.agenda.can_manage_agenda %}
|
|
|
|
<div class="dragcell"></div>
|
|
|
|
{% endif %}
|
2012-04-15 09:55:21 +02:00
|
|
|
<a href="{{ item.get_absolute_url }}">{{ item }}</a>
|
2012-06-03 09:35:26 +02:00
|
|
|
{% if item.releated_sid %}
|
2012-06-30 11:06:32 +02:00
|
|
|
({{ item.print_releated_type }})
|
2012-05-14 21:55:36 +02:00
|
|
|
{% endif %}
|
|
|
|
</td>
|
|
|
|
{% if perms.agenda.can_manage_agenda %}
|
|
|
|
<td>
|
2012-06-30 10:39:58 +02:00
|
|
|
{{ item.comment|first_line }}
|
2012-03-18 15:11:01 +01:00
|
|
|
</td>
|
2012-05-14 21:55:36 +02:00
|
|
|
{% endif %}
|
2012-04-20 22:58:57 +02:00
|
|
|
{% if perms.agenda.can_manage_agenda or perms.projector.can_manage_projector %}
|
2012-03-18 15:11:01 +01:00
|
|
|
<td>
|
2012-04-10 20:09:10 +02:00
|
|
|
<span style="width: 1px; white-space: nowrap;">
|
2012-04-20 22:58:57 +02:00
|
|
|
{% if perms.projector.can_manage_projector %}
|
|
|
|
<a class="activate_link {% if item.active %}active{% endif %}" href="{% url projector_activate_slide item.sid %}" title="{% trans 'Activate item' %}">
|
|
|
|
<span></span>
|
|
|
|
</a>
|
|
|
|
{% endif %}
|
|
|
|
{% if perms.agenda.can_manage_agenda %}
|
2012-06-03 09:35:26 +02:00
|
|
|
<a href="{% model_url item 'edit' %}"><img src="{% static 'images/icons/edit.png' %}" title="{% trans 'Edit item' %}"></a>
|
|
|
|
<a href="{% model_url item 'delete' %}"><img src="{% static 'images/icons/delete.png' %}" title="{% trans 'Delete item' %}"></a>
|
2012-04-20 22:58:57 +02:00
|
|
|
{% endif %}
|
2012-03-18 15:11:01 +01:00
|
|
|
</span>
|
|
|
|
</td>
|
2012-04-20 22:58:57 +02:00
|
|
|
{% endif %}
|
|
|
|
{% if perms.agenda.can_manage_agenda %}
|
2012-03-18 15:11:01 +01:00
|
|
|
<td class="tabledrag-hide">
|
|
|
|
{% with form=item.weight_form %}
|
|
|
|
{{ form.weight }}
|
|
|
|
{{ form.self }}
|
|
|
|
{{ form.parent }}
|
|
|
|
{% endwith %}
|
|
|
|
</td>
|
|
|
|
{% endif %}
|