Added action to tag search results

This commit is contained in:
Nicolas Lœuillet
2021-08-03 14:35:45 +02:00
committed by Jeremy Benoist
parent 88fd7afeb5
commit 5077c46e4e
4 changed files with 69 additions and 0 deletions

View File

@ -34,6 +34,7 @@
{% include "@WallabagCore/themes/common/Entry/_feed_link.html.twig" %}
{% endif %}
</div>
{% if currentRoute == 'search' %}<div><a href="{{ path('tag_this_search', {'filter': searchTerm, 'currentRoute': app.request.get('currentRoute') }) }}" title="{{ 'entry.list.assign_search_tag'|trans }}">{{ 'entry.list.assign_search_tag'|trans }}</a></div>{% endif %}
{% if entries.getNbPages > 1 %}
{{ pagerfanta(entries, 'twitter_bootstrap_translated', {'proximity': 1}) }}
{% endif %}