diff --git a/templates/web/thesaurus/link-field-step1.html.twig b/templates/web/thesaurus/link-field-step1.html.twig index eb312505ed..ced3f72e0c 100644 --- a/templates/web/thesaurus/link-field-step1.html.twig +++ b/templates/web/thesaurus/link-field-step1.html.twig @@ -50,7 +50,7 @@ {% set branch = "
" ~ fullBranch ~ "
" %} {% trans with {'%branch%' : branch} %}thesaurus:: Lier la branche de thesaurus au champ %branch%{% endtrans %} -
+
{% for fieldname, checked in fieldnames %} {{ fieldname }}
{% endfor %} diff --git a/templates/web/thesaurus/new-term.html.twig b/templates/web/thesaurus/new-term.html.twig index 5c9dc238ca..a8ef0a72da 100644 --- a/templates/web/thesaurus/new-term.html.twig +++ b/templates/web/thesaurus/new-term.html.twig @@ -38,7 +38,7 @@ {{ prop_label }}
-
+
@@ -56,25 +56,18 @@
{% else %} - {% if nb_candidates_bad > 0 %} + {% if nb_candidates_bad > 0 %}t {% set prop_label = 'thesaurus:: est candidat en provenance des champs mais ne peut etre accepte a cet emplacement du thesaurus' | trans %} {% else %} {% set prop_label = 'thesaurus:: n\'est pas present dans les candidats' | trans %} {% endif %} -
-
-
-
+
{{ zterm }}
-
{{ prop_label }}
-
-
-
-
+     @@ -141,18 +134,18 @@ switch(button) { case "submit": - {% if typ == "TS" %} - url = "xmlhttp/newts.x.php"; - {% else %} - url = "xmlhttp/newsy.x.php"; - {% endif %} + {% if typ == "TS" %} + url = "xmlhttp/newts.x.php"; + {% else %} + url = "xmlhttp/newsy.x.php"; + {% endif %} parms = "bid={{ bid }}"; parms += "&piv={{ piv }}"; parms += "&pid={{ pid }}"; parms += "&t={{ term | url_encode }}"; - {% if context is not none %} - parms += "&k={{ context | url_encode }}"; - {% endif %} + {% if context is not none %} + parms += "&k={{ context | url_encode }}"; + {% endif %} parms += "&sylng={{ sylng }}"; parms += "&reindex=0"; @@ -163,17 +156,18 @@ switch(refresh.item(i).getAttribute("type")) { case "CT": - {{ opener }}.reloadCtermsBranch(refresh.item(i).getAttribute("id")); + $("#NEWSY_DLG_CONFIRM").dialog('close'); + reloadCtermsBranch(refresh.item(i).getAttribute("id")); break; case "TH": - {{ opener }}.reloadThesaurusBranch(refresh.item(i).getAttribute("id")); + $("#NEWSY_DLG_CONFIRM").dialog('close'); + reloadThesaurusBranch(refresh.item(i).getAttribute("id")); break; } } - self.close(); break; case "cancel": - self.close(); + $("#NEWSY_DLG_CONFIRM").dialog('close'); break; } } diff --git a/templates/web/thesaurus/properties.html.twig b/templates/web/thesaurus/properties.html.twig index 4da9259fb1..e5c0280438 100644 --- a/templates/web/thesaurus/properties.html.twig +++ b/templates/web/thesaurus/properties.html.twig @@ -115,13 +115,15 @@
- +