mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-01 17:38:38 +00:00
Use IsGranted in EntryController
This commit is contained in:
parent
92786c6304
commit
b8819cc3d7
16 changed files with 575 additions and 151 deletions
|
@ -11,9 +11,11 @@
|
|||
|
||||
<div class="row">
|
||||
<ul class="card-tag-labels">
|
||||
<li class="chip">
|
||||
<a href="{{ path('untagged') }}">{{ 'tag.list.untagged'|trans }} ({{ nbEntriesUntagged }})</a>
|
||||
</li>
|
||||
{% if is_granted('LIST_ENTRIES') %}
|
||||
<li class="chip">
|
||||
<a href="{{ path('untagged') }}">{{ 'tag.list.untagged'|trans }} ({{ nbEntriesUntagged }})</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% for tag in tags %}
|
||||
<li title="{{ tag.label }} ({{ tag.nbEntries }})" id="tag-{{ tag.id }}" class="chip">
|
||||
<a href="{{ path('tag_entries', {'slug': tag.slug}) }}" class="card-tag-link" data-handle="tag-link">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue