From e5d03f4e7c3533a158380d813a97aa6e9ee01b75 Mon Sep 17 00:00:00 2001
From: Jerome Nadaud
{l s='Note that the category import does not support categories of the same name.'}
-{l s='Note that you can have several products with the same reference.'}
-{l s='Importing Supply Order Details will reset products ordered, if there are any.'}
-{l s='Note that the category import does not support categories of the same name.'}
+{l s='Note that you can have several products with the same reference.'}
+{l s='Importing Supply Order Details will reset products ordered, if there are any.'}
+{l s='There is no CSV file available. Please upload one using the \'Upload\' button above.'}
@@ -305,9 +305,9 @@ $('input[name=multiple_value_separator]').val('{if isset($multiple_value_separator_selected)}{$multiple_value_separator_selected}{else},{/if}'); } if ($("#entity > option:selected").val() == 1) - $("label[for=match_ref], #match_ref").show(); + $("#match_ref").closest('.form-group.').show(); else - $("label[for=match_ref], #match_ref").hide(); + $("#match_ref").closest('.form-group.').hide(); if ($("#entity > option:selected").val() == 1 || $("#entity > option:selected").val() == 0) $(".import_products_categories").show(); @@ -316,14 +316,14 @@ if ($("#entity > option:selected").val() == 0 || $("#entity > option:selected").val() == 1 || $("#entity > option:selected").val() == 5 || $("#entity > option:selected").val() == 6) - $("label[for=regenerate], #regenerate").show() + $("#regenerate").closest('.form-group.').show(); else - $("label[for=regenerate], #regenerate").hide(); + $("#regenerate").closest('.form-group.').hide(); if ($("#entity > option:selected").val() == 0 || $("#entity > option:selected").val() == 1 || $("#entity > option:selected").val() == 3 || $("#entity > option:selected").val() == 5 || $("#entity > option:selected").val() == 6 || $("#entity > option:selected").val() == 7) - $("label[for=forceIDs], #forceIDs").show(); + $("#forceIDs").closest('.form-group.').show(); else - $("label[for=forceIDs], #forceIDs").hide(); + $("#forceIDs").closest('.form-group.').hide(); $("#entitie").html($("#entity > option:selected").text().toLowerCase()); $.ajax({ url: 'ajax.php',