From 9e27ab9200bb78898f7085cbea1a6525aafe13cb Mon Sep 17 00:00:00 2001 From: Alexis Degrugillier Date: Tue, 25 Oct 2022 18:18:43 -0400 Subject: Fix integration page (#4774) Before, when adding a simple integration, the delete button was missing until the configuration was saved. This behavior was introduced in #4269, but I think that it was a regression. Now, the delete button is back and everything is working as it should. In the process, I've extracted templates in attributes and add them in template tags. This way, it is easier to validate that the HTML code is valid. --- app/views/configure/integration.phtml | 67 +++++++++++++++++++++++------------ 1 file changed, 44 insertions(+), 23 deletions(-) (limited to 'app') diff --git a/app/views/configure/integration.phtml b/app/views/configure/integration.phtml index a58d9cd8d..c078ae709 100644 --- a/app/views/configure/integration.phtml +++ b/app/views/configure/integration.phtml @@ -10,30 +10,51 @@

-
- -
- ' - data-advanced='##label## - - - -
- -
-
- -

-
-
- -
-
' class="draggableList"> + + + sharing as $key => $share_options) { -- cgit v1.2.3