]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - themes/baggy/home.twig
Added save search as tag functionality
[github/wallabag/wallabag.git] / themes / baggy / home.twig
index 5dd91307748bd7c40a75908f540bcd808f90cee5..92a3c8664775655486ca72dba5cedf93f0966d1e 100755 (executable)
@@ -57,6 +57,7 @@
                 {% endfor %}
             </div>
             {% if view == 'home' %}{% if nb_results > 1 %}<a title="{% trans "Mark all the entries as read" %}"  href="./?action=archive_all">{{ "Mark all the entries as read" }}</a>{% endif %}{% endif %}
+            {% if search_term is defined %}<a title="{% trans "Apply the tag" %} {{ search_term }} {% trans "to this search" %}" href="./?action=add_tag&search={{ search_term }}">{% trans "Apply the tag" %} {{ search_term }} {% trans "to this search" %}</a>{% endif %}
             {% endif %}
             {{ block('pager') }}
 {% endblock %}