2013-09-08 14:44:41 +02:00
|
|
|
{% load i18n %}
|
|
|
|
{% load highlight %}
|
|
|
|
|
2013-10-19 22:16:43 +02:00
|
|
|
{% if perms.agenda.can_see_agenda and result.object.type == result.object.AGENDA_ITEM %}
|
2013-09-08 14:44:41 +02:00
|
|
|
<li>
|
|
|
|
<a href="{{ result.object.get_absolute_url }}">{{ result.object }}</a><br>
|
|
|
|
<span class="app">{% trans "Agenda" %}</a></span><br>
|
|
|
|
{% highlight result.text with request.GET.q %}
|
|
|
|
</li>
|
2013-10-19 22:16:43 +02:00
|
|
|
{% elif perms.agenda.can_see_orga_items and result.object.type == result.object.ORGANIZATIONAL_ITEM %}
|
|
|
|
<li>
|
|
|
|
<a href="{{ result.object.get_absolute_url }}"><i>[{{ result.object }}]</i></a><br>
|
|
|
|
<span class="app">{% trans "Agenda" %} ({% trans "Organizational item" %})</a></span><br>
|
|
|
|
{% highlight result.text with request.GET.q %}
|
|
|
|
</li>
|
2013-09-08 14:44:41 +02:00
|
|
|
{% endif %}
|