2012-03-18 15:11:01 +01:00
{% load i18n %}
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 >
2013-01-08 23:05:35 +01:00
{% if perms.agenda.can_manage_agenda %}
2013-01-31 10:19:56 +01:00
< a href = "{% if item.closed %}{% url 'item_open' item.id %}{% else %}{% url 'item_close' item.id %}{% endif %}"
class="close_link btn btn-mini {% if item.closed %}btn-success{% endif %}" title="{% trans 'Change status (open/closed)' %}">
< i class = "{% if item.closed %}icon-checked-new{% else %}icon-unchecked-new{% endif %}" > < / i >
2013-01-08 23:05:35 +01:00
< / a >
{% else %}
2013-02-05 22:36:05 +01:00
< span class = "close_link" >
< i class = "{% if item.closed %}icon-checked-new{% else %}icon-unchecked-new{% endif %}" > < / i >
< / span >
2013-01-08 23:05:35 +01:00
{% endif %}
2012-04-10 20:09:10 +02:00
< / 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 %}
2013-02-01 15:13:40 +01:00
< a href = "{% model_url item 'view' %}" > {% if item.type == item.ORGANIZATIONAL_ITEM %}< i > [{% endif %}{{ item }}{% if item.type == item.ORGANIZATIONAL_ITEM %}]< / i > {% endif %}< / a >
2012-07-20 11:22:09 +02:00
{{ item.get_title_supplement|safe }}
2012-05-14 21:55:36 +02:00
< / td >
{% if perms.agenda.can_manage_agenda %}
2013-01-08 23:05:35 +01:00
< td class = "optional" >
2012-06-30 10:39:58 +02:00
{{ item.comment|first_line }}
2012-03-18 15:11:01 +01:00
< / td >
2013-01-31 20:37:55 +01:00
{% endif %}
{% if perms.agenda.can_see_orga_items %}
2013-02-11 23:01:48 +01:00
< td >
2013-01-31 20:37:55 +01:00
{% if item.duration %}
2013-03-09 14:15:03 +01:00
{{ item.duration }}h {% if start and end %}< a { % if item . tooltip % } rel = "tooltip" data-original-title = "{% trans 'End' %}: {{ item.tooltip|date:" DATETIME_FORMAT " } } " { % endif % } > < i class = "icon-clock" > < / i > < / a > {% endif %}
2013-01-31 20:37:55 +01:00
{% endif %}
2013-01-29 14:28:42 +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 %}
2013-01-31 10:19:56 +01:00
< a href = "{% url 'projector_activate_slide' item.sid %}" class = "activate_link btn {% if item.active %}btn-primary{% endif %} btn-mini" title = "{% trans 'Show' %}" >
< i class = "icon-facetime-video {% if item.active %}icon-white{% endif %}" > < / i >
2012-04-20 22:58:57 +02:00
< / a >
{% endif %}
{% if perms.agenda.can_manage_agenda %}
2013-01-08 23:05:35 +01:00
< 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 >
2012-07-01 16:10:26 +02:00
{% if not item.is_leaf_node %}
2013-02-05 23:09:23 +01:00
< a href = "{% url 'projector_activate_slide' item.sid 'summary' %}" class = "activate_link btn btn-mini" title = "{% trans 'Show summary for this item' %}" >
2013-01-31 10:19:56 +01:00
< i class = "icon-summary" > < / i >
2012-07-12 17:11:33 +02:00
< / a >
2012-07-01 16:10:26 +02:00
{% endif %}
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 %}
2012-09-05 00:20:28 +02:00
< td class = "tabledrag-hide" style = "display: none;" >
2012-03-18 15:11:01 +01:00
{% with form=item.weight_form %}
{{ form.weight }}
{{ form.self }}
{{ form.parent }}
{% endwith %}
< / td >
2013-02-05 22:36:05 +01:00