diff --git a/templates/web/common/dialog_export.twig b/templates/web/common/dialog_export.twig index acc0a4caed..27e8de089e 100644 --- a/templates/web/common/dialog_export.twig +++ b/templates/web/common/dialog_export.twig @@ -2,81 +2,61 @@ {% macro print_ftp_form(datas) %}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - - -
- - - -
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ + +
+
+
+ +
+ +
+
{% endmacro %} @@ -170,7 +150,7 @@
-
+
{% trans 'export::mail: destinataire' %} {% set my_email = user.get_email() %} @@ -218,7 +198,7 @@
{% if download.has_business_fields_access() %}
- - + {# SCRIPT - HORIZONTAL TABS #} diff --git a/templates/web/prod/actions/Push.html.twig b/templates/web/prod/actions/Push.html.twig index 7702155416..b2caedc5cb 100644 --- a/templates/web/prod/actions/Push.html.twig +++ b/templates/web/prod/actions/Push.html.twig @@ -1,274 +1,247 @@
-
-
-
- {% if context == 'Push' %} - - {% else %} - - {% endif %} -
-
-
-

{% trans 'Grant rights' %}

-
    - {% if context == 'Feedback' %} -
  • - -
  • -
  • - -
  • - {% endif %} -
  • - -
  • -
-
- -
-
-
-
-
-
- - - - - - -
-
- -
- {% trans 'Select a user in the list'%}
- {% if user.ACL().has_right('manageusers') %} - {% trans 'or' %} - {% trans 'Add user' %} - {% endif %} -
-

- - {% set recommendation = '' %} - - {% set total = RecommendedUsers|length %} - - {% for user in RecommendedUsers %} - - {% if total <= 4 or loop.index <= 4 %} - {% if recommendation != '' and not loop.last %} - {% set recommendation = recommendation ~ ', ' %} - {% elseif recommendation != '' and loop.last %} - {% set recommendation = recommendation %} - {% endif %} - {% set recommendation = recommendation - ~ ' ' - ~ '' - ~ user.get_display_name() - ~ '' %} - {% endif %} - - {% endfor %} - - {% if total > 4 %} - {% set n = total - 4%} - {% set and_many_more %} - {% trans %} - and {{ n }} more peoples - {% endtrans %} - {% endset %} - {% set recommendation = recommendation - ~ '' - ~ and_many_more ~ '' %} - {% endif %} - - - {% if recommendation != '' %} - {% set recommendation = '
' ~ recommendation %} - {% if context == 'Push' %} - {% trans %} - Please consider send this push to the following users : {{ recommendation }} - {% endtrans %} - {% else %} - {% trans %} - Please consider send this validation to the following users : {{ recommendation }} - {% endtrans %} - {% endif %} - {% endif %} -

- - -
- -

+

+
+
{% if context == 'Push' %} - {% trans 'Push::unpush permet d\'envoyer un lot d\'image a des destinataires' %} + {% else %} - {% trans 'Push::une validation est une demande d\'appreciation a d\'autres personnes' %} + {% endif %} -

-
-
-
-
-
-
- - - - - -
- - - -
+
+
+
+

{% trans 'Grant rights' %}

+
    + {% if context == 'Feedback' %} +
  • + +
  • +
  • + +
  • + {% endif %} +
  • + +
  • +
+
+ +
+
+
+
+
+
+ + + + + + +
+
+ +
+ {% trans 'Select a user in the list'%}
+ {% if user.ACL().has_right('manageusers') %} + {% trans 'or' %} + {% trans 'Add user' %} + {% endif %} +
+

+ {% set recommendation = '' %} + {% set total = RecommendedUsers|length %} + + {% for user in RecommendedUsers %} + {% if total <= 4 or loop.index <= 4 %} + {% if recommendation != '' and not loop.last %} + {% set recommendation = recommendation ~ ', ' %} + {% elseif recommendation != '' and loop.last %} + {% set recommendation = recommendation %} + {% endif %} + {% set recommendation = recommendation + ~ ' ' + ~ '' + ~ user.get_display_name() + ~ '' %} + {% endif %} + {% endfor %} + + {% if total > 4 %} + {% set n = total - 4%} + {% set and_many_more %} + {% trans %} + and {{ n }} more peoples + {% endtrans %} + {% endset %} + {% set recommendation = recommendation + ~ '' + ~ and_many_more ~ '' %} + {% endif %} + + {% if recommendation != '' %} + {% set recommendation = '
' ~ recommendation %} + {% if context == 'Push' %} + {% trans %} + Please consider send this push to the following users : {{ recommendation }} + {% endtrans %} + {% else %} + {% trans %} + Please consider send this validation to the following users : {{ recommendation }} + {% endtrans %} + {% endif %} + {% endif %} +

+ + +
+

+ {% if context == 'Push' %} + {% trans 'Push::unpush permet d\'envoyer un lot d\'image a des destinataires' %} + {% else %} + {% trans 'Push::une validation est une demande d\'appreciation a d\'autres personnes' %} + {% endif %} +

+
+
+
+
+
+
+ + + + + +
+ + + +
+
+
+ + + + + + +
+
+ +
-
- - - - - - -
-
-
- -
-
+