From c9871eb57034667e5257443021d0533b5485290b Mon Sep 17 00:00:00 2001 From: Harrys Ravalomanana Date: Tue, 25 Feb 2020 14:38:45 +0400 Subject: [PATCH] PHRAS-2945 #comment Prod-editing : Fix default height/min-height for editing_top_box #time 2h --- .../Phrasea/Core/Configuration/DisplaySettingService.php | 2 +- templates/web/prod/actions/edit_default.html.twig | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Alchemy/Phrasea/Core/Configuration/DisplaySettingService.php b/lib/Alchemy/Phrasea/Core/Configuration/DisplaySettingService.php index f69ea71737..24fcff9b2c 100644 --- a/lib/Alchemy/Phrasea/Core/Configuration/DisplaySettingService.php +++ b/lib/Alchemy/Phrasea/Core/Configuration/DisplaySettingService.php @@ -32,7 +32,7 @@ class DisplaySettingService 'images_per_page' => '20', 'images_size' => '120', 'editing_images_size' => '134', - 'editing_top_box' => '180px', + 'editing_top_box' => '120px', 'editing_right_box' => '400px', 'editing_left_box' => '710px', 'basket_sort_field' => 'name', diff --git a/templates/web/prod/actions/edit_default.html.twig b/templates/web/prod/actions/edit_default.html.twig index fd1a10a269..a7d5f932fe 100644 --- a/templates/web/prod/actions/edit_default.html.twig +++ b/templates/web/prod/actions/edit_default.html.twig @@ -126,6 +126,7 @@ {% set actionable = recordsRequest|length %} {% set not_actionable = recordsRequest.received|length - actionable %} +{% set editing_top_box_height = app['settings'].getUserSetting(app.getAuthenticatedUser(), 'editing_top_box') %}
@@ -135,8 +136,7 @@
-
+