diff --git a/templates/web/common/drop_down_options.html b/templates/web/common/drop_down_options.html index d07ca3b41a..ca7ca86aec 100644 --- a/templates/web/common/drop_down_options.html +++ b/templates/web/common/drop_down_options.html @@ -10,7 +10,7 @@ {% if user.ACL.has_right_on_base(record.get_base_id, 'canputinalbum') and not record.is_grouping() %}
+ onclick="evt_add_in_chutier('{{record.get_sbas_id}}','{{record.get_record_id}}',false,this);return(false);"> {% trans 'action : ajouter au panier' %}
@@ -42,4 +42,4 @@ -{% endmacro %} \ No newline at end of file +{% endmacro %} diff --git a/templates/web/prod/preview/tools.html b/templates/web/prod/preview/tools.html index e9888ad449..ad246db4ef 100644 --- a/templates/web/prod/preview/tools.html +++ b/templates/web/prod/preview/tools.html @@ -1,14 +1,14 @@ {% if (record.is_from_basket is empty) and user.ACL().has_right_on_base(record.get_base_id(), 'canputinalbum') %}
+ class="baskAdder" title="{% trans 'action : ajouter au panier' %}" + onclick="evt_add_in_chutier('{{record.get_sbas_id()}}','{{record.get_record_id()}}',false,this);return(false);"> {% endif %} -
{% if user.ACL().has_right_on_base(record.get_base_id(), 'candwnldhd') or user.ACL().has_right_on_base(record.get_base_id(), 'candwnldpreview') %} -
{% endif %} diff --git a/www/client/answer.php b/www/client/answer.php index 46698f71f2..273fbb587b 100644 --- a/www/client/answer.php +++ b/www/client/answer.php @@ -155,13 +155,13 @@ $ACL = $user->ACL(); if ($registry->get('GV_thesaurus')) { ?> - - - - + + +