From 6b0c225d9e02e4341095b14f3a4e243c02ca7cd7 Mon Sep 17 00:00:00 2001 From: Harrys Date: Fri, 8 Mar 2019 15:51:47 +0400 Subject: [PATCH] PHRAS-2430_Port_to_41-Advance_search_refacto_Restore_Query - Port_PHRAS-2381_to_41 --- templates/web/prod/index.html.twig | 44 ++++++++++++++++++------------ 1 file changed, 27 insertions(+), 17 deletions(-) diff --git a/templates/web/prod/index.html.twig b/templates/web/prod/index.html.twig index 7d68717ad0..32a331c8e4 100644 --- a/templates/web/prod/index.html.twig +++ b/templates/web/prod/index.html.twig @@ -264,6 +264,11 @@
+ {% if app['settings'].getUserSetting(app.getAuthenticatedUser(), 'start_page') == 'QUERY' %} + + {% elseif app['settings'].getUserSetting(app.getAuthenticatedUser(), 'start_page') == 'LAST_QUERY' %} + + {% endif %}
@@ -404,27 +409,27 @@
-
- {% for field_id, field in search_datas['fields'] %} - {% if field['type'] != 'date' %} + {# {% if field['type'] != 'date' %}#} - {% endif %} + {#{% endif %}#} {% endfor %} - + + - - + +
-
+ {#
-
+
#}
@@ -500,13 +505,16 @@ {% for status_bit, status in databox.status %} + @@ -516,9 +524,11 @@ {% if status['img_on'] %} {% endif %} - + {{status['labels_on_i18n'][app['locale']]}}