Template checks if user has no permission to see agenda items.
This commit is contained in:
parent
c66396df80
commit
c55e55e91b
@ -10,7 +10,8 @@
|
|||||||
<translate>PDF</translate>
|
<translate>PDF</translate>
|
||||||
</a>
|
</a>
|
||||||
<!-- List of speakers -->
|
<!-- List of speakers -->
|
||||||
<a ui-sref="agenda.item.detail({id: assignment.agenda_item_id})" class="btn btn-sm btn-default">
|
<a ui-sref="agenda.item.detail({id: assignment.agenda_item_id})"
|
||||||
|
os-perms="agenda.can_see" class="btn btn-sm btn-default">
|
||||||
<i class="fa fa-microphone fa-lg"></i>
|
<i class="fa fa-microphone fa-lg"></i>
|
||||||
<translate>List of speakers</translate>
|
<translate>List of speakers</translate>
|
||||||
</a>
|
</a>
|
||||||
@ -28,7 +29,7 @@
|
|||||||
<i class="fa fa-pencil"></i>
|
<i class="fa fa-pencil"></i>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<h1>{{ assignment.agenda_item.getTitle() }}</h1>
|
<h1>{{ assignment.agenda_item.getTitle() || assignment.title }}</h1>
|
||||||
<h2>
|
<h2>
|
||||||
<translate>Election</translate>
|
<translate>Election</translate>
|
||||||
</h2>
|
</h2>
|
||||||
|
@ -10,7 +10,8 @@
|
|||||||
<translate>PDF</translate>
|
<translate>PDF</translate>
|
||||||
</a>
|
</a>
|
||||||
<!-- List of speakers -->
|
<!-- List of speakers -->
|
||||||
<a ui-sref="agenda.item.detail({id: motion.agenda_item_id})" class="btn btn-sm btn-default">
|
<a ui-sref="agenda.item.detail({id: motion.agenda_item_id})"
|
||||||
|
os-perms="agenda.can_see" class="btn btn-sm btn-default">
|
||||||
<i class="fa fa-microphone fa-lg"></i>
|
<i class="fa fa-microphone fa-lg"></i>
|
||||||
<translate>List of speakers</translate>
|
<translate>List of speakers</translate>
|
||||||
</a>
|
</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user