diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-11-05 15:24:42 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-11-19 19:17:30 +0100 |
commit | 398de40517356981a9fe1b9185f5f9e5e498c346 (patch) | |
tree | 469fad8e65b041d04f9a303d653b830015e0fb73 /src/Wallabag/CoreBundle/Resources/views/themes/material | |
parent | ee122a7528f55dfb5f02e351c509d00b756fedaa (diff) | |
download | wallabag-398de40517356981a9fe1b9185f5f9e5e498c346.tar.gz wallabag-398de40517356981a9fe1b9185f5f9e5e498c346.tar.zst wallabag-398de40517356981a9fe1b9185f5f9e5e498c346.zip |
Added search engine in baggy theme
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/material')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig | 2 | ||||
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/search_form.html.twig | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig index ff555055..00e8bf63 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig | |||
@@ -5,7 +5,7 @@ | |||
5 | {% if tag is defined %} | 5 | {% if tag is defined %} |
6 | {% set filter = tag %} | 6 | {% set filter = tag %} |
7 | {% endif %} | 7 | {% endif %} |
8 | {% if searchTerm is not empty %} | 8 | {% if searchTerm is defined and searchTerm is not empty %} |
9 | {% set filter = searchTerm %} | 9 | {% set filter = searchTerm %} |
10 | {% endif %} | 10 | {% endif %} |
11 | {% include "@WallabagCore/themes/common/Entry/_title.html.twig" with {'filter': filter} %} | 11 | {% include "@WallabagCore/themes/common/Entry/_title.html.twig" with {'filter': filter} %} |
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/search_form.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/search_form.html.twig index 9b8ac86d..bba6adb1 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/search_form.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/search_form.html.twig | |||
@@ -1,5 +1,4 @@ | |||
1 | <form name="search | 1 | <form name="search" method="GET" action="{{ path('search')}}"> |
2 | " method="GET" action="{{ path('search')}}"> | ||
3 | {% if form_errors(form) %} | 2 | {% if form_errors(form) %} |
4 | <span class="black-text">{{ form_errors(form) }}</span> | 3 | <span class="black-text">{{ form_errors(form) }}</span> |
5 | {% endif %} | 4 | {% endif %} |