mirror of
https://github.com/wallabag/wallabag.git
synced 2025-09-15 18:57:05 +00:00
Use IsGranted in EntryController
This commit is contained in:
parent
92786c6304
commit
b8819cc3d7
16 changed files with 575 additions and 151 deletions
|
@ -37,7 +37,9 @@
|
|||
<div class="card-action">
|
||||
<ul>
|
||||
<li><a href="https://doc.wallabag.org/en/user/articles/save.html">{{ 'quickstart.first_steps.new_article'|trans }}</a></li>
|
||||
<li><a href="{{ path('unread') }}">{{ 'quickstart.first_steps.unread_articles'|trans }}</a></li>
|
||||
{% if is_granted('LIST_ENTRIES') %}
|
||||
<li><a href="{{ path('unread') }}">{{ 'quickstart.first_steps.unread_articles'|trans }}</a></li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue