diff --git a/templates/web/thesaurus/properties.html.twig b/templates/web/thesaurus/properties.html.twig index 78510851a1..bcb7e82ad0 100644 --- a/templates/web/thesaurus/properties.html.twig +++ b/templates/web/thesaurus/properties.html.twig @@ -33,23 +33,24 @@ {{ 'thesaurus:properties:: Mettre dans le stock' | trans }}
- #} -
+ +

{{ fullpath | raw }}

+
id: {{ id }}
-

{{ fullpath | raw }}


{% if typ == "CT" %}
- {% elseif typ == "TH" %} + {#{% elseif typ == "TH" %} {% trans with {'%hits%' : hits} %}thesaurus:: %hits% reponses retournees{% endtrans %}
-
+
#} {% endif %}
@@ -136,6 +137,14 @@ sy_list = ret.getElementsByTagName("sy_list").item(0); refresh_sy(sy_list); + /* $.ajax({ + type: "GET", + url: `${url}?${parms}`, + success: function(data){ + $('#DLG_PROPERTIES').html(''); + $('#DLG_PROPERTIES').append(data); + } + });*/ refresh = ret.getElementsByTagName("refresh"); @@ -295,8 +304,8 @@ // td.setAttribute("colSpan", "3"); // attention au 'S' majuscule !!! td.innerHTML = n.getAttribute("t"); - td = tr.appendChild(document.createElement("td")); - td.innerHTML = n.getAttribute("hits"); + /*td = tr.appendChild(document.createElement("td")); + td.innerHTML = n.getAttribute("hits");*/ td = tr.appendChild(document.createElement("td")); td.innerHTML = n.getAttribute("id"); @@ -322,17 +331,6 @@ ; if(tr) myGUI.select(tr); - /* switch(o.id.substr(0, 4)) - { - case "FLG_": // le drapeau - document.getElementById("flagsMenu").runAsMenu( evt, tr ); - break; - case "SYN_": // le synonyme - document.getElementById("syMenu").runAsMenu( evt, tr ); - $('.delete_term').html(''); - $('.delete_term', tr).append($('#syMenu').html()); - break; - }*/ } break; case "MOUSEDOWN": diff --git a/templates/web/thesaurus/thesaurus.html.twig b/templates/web/thesaurus/thesaurus.html.twig index dfcc12fdd1..d8149b0544 100644 --- a/templates/web/thesaurus/thesaurus.html.twig +++ b/templates/web/thesaurus/thesaurus.html.twig @@ -169,10 +169,6 @@

{{ language }}

{% endfor %} - {# {% for code, language in flags %} - - {{ language }} - {% endfor %}#}