0b5f75339e
* Fixed agenda permissions * Renamed assignment to assignments, fixed assignments permission names * Renamed mediafile to mediafiles * Renamed motion to motions. Fixed motions permission names
17 lines
719 B
HTML
17 lines
719 B
HTML
{% load i18n %}
|
|
{% load highlight %}
|
|
|
|
{% if perms.agenda.can_see and result.object.type == result.object.AGENDA_ITEM %}
|
|
<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>
|
|
{% 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>
|
|
{% endif %}
|