diff --git a/templates/web/prod/actions/Tools/confirm.html.twig b/templates/web/prod/actions/Tools/confirm.html.twig new file mode 100644 index 0000000000..80c7dd80ad --- /dev/null +++ b/templates/web/prod/actions/Tools/confirm.html.twig @@ -0,0 +1,25 @@ +
+ + + + + + + + + + + + + +
+ + + +
+ {% trans 'you are about to change the representation thumbnail of your video' %} : {{video_title}} +
+ {% trans 'do you want to validate' %} ? +
+ +
\ No newline at end of file diff --git a/templates/web/prod/actions/Tools/iframeUpload.html.twig b/templates/web/prod/actions/Tools/iframeUpload.html.twig index 059a461149..d03a13b907 100644 --- a/templates/web/prod/actions/Tools/iframeUpload.html.twig +++ b/templates/web/prod/actions/Tools/iframeUpload.html.twig @@ -1,8 +1,6 @@
- {% if success %} - {% trans ' successfull operation '%} - {% else %} + {% if not success %} {% trans ' an error occured '%} {{errorMessage}} {% endif %} diff --git a/templates/web/prod/actions/Tools/index.html.twig b/templates/web/prod/actions/Tools/index.html.twig index 58b1e043e1..679f24f12a 100644 --- a/templates/web/prod/actions/Tools/index.html.twig +++ b/templates/web/prod/actions/Tools/index.html.twig @@ -24,195 +24,349 @@ {# jquery Tabs #}
{# jquery menu #} - +
{# subef section #}
- - {% if nbThumbSubstitute > 0 %} -
- {% trans "Attention, certain documents ont des sous-definitions substituees"%} -
- - -
- {% else %} - - {% endif %} - -
-
- {% trans "Reconstruire les sous definitions" %} : -
- +
+  {% trans "Reconstruire les sous definitions" %}  + {% if nbThumbSubstitute > 0 %} +
+ {% trans "Attention, certain documents ont des sous-definitions substituees"%} +
+ + +
+ {% else %} + + {% endif %} - -
+ + + + +
+
- +
-
+ {% if selectionLength == 1%} + {% for record in selection %} + {% if record.get_type() == 'video' %} +
+
+ + {% trans "screenshot video" %} +
+
+
+ +
+ +
+ +
+ +
+ +
+ +
+ {% trans 'take a screenshot' %} +
+ +
+ +
+ +
+
+ +
+
+ +
+

{% trans 'To take a screenshot click on camera' %}

+ + + +
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ + + + + +
+ + + {% trans 'take a screenshot' %} +
+
+ {% endif %} + {% endfor %} + {% endif %} + {# image section #} -
-
- {% trans "Cette action n\'a d\'effet que sur les images"%} -
- - -
- - - - - -
- - -
-
-
+ {% if selectionLength == 1%} + {% for record in selection %} + {% if record.get_type() == 'image' %} +
+
+
+  {% trans "image rotation" %}  + + +
+ + + + + +
+
+ + +
+
+
+ {% endif %} + {% endfor %} + {% endif %} {# hd sub section #} - {% if selectionLength == 1 and registry.get('GV_seeOngChgDoc') %} + {% if selectionLength == 1 %} {% for record in selection %} -
-
- - - - - - - -
-
- - +
+ + {% if registry.get('GV_seeOngChgDoc') %} +
+ + +
+  {% trans "substitution HD" %}  +
+ + +
+ + + + + +
+
+
+
+ + +
+ +
- -
+ {% endif %} + + {% if registry.get('GV_seeNewThumb') %} +
+
+
+  {% trans "substitution SD" %}  +
+ + + + +
+
+
+
+ + +
+
+
+
+ {% endif %}
{% endfor %} {% endif %} - {# sd sub section #} - {% if selectionLength == 1 and registry.get('GV_seeNewThumb') %} - {% for record in selection %} -
-
-
- - - - -
-
- - -
-
-
-
- {% endfor %} - {% endif %} - {# exiftool section #} {% if metadatas %} {% for record in selection %}
{% set thumbnail = record.get_thumbnail() %} - - {% if record is not none %} + {#{% if record is not none %}

{{record.get_title()}}

- {% endif %} + {% endif %}#} -
+

HTML

+
{% for line in metadatasFirst %} {% spaceless %} {{line|raw}} {% endspaceless %} {% endfor %}
-
+

XML

+
{% for line in metadatasSecond %} {{line|raw}}
{% endfor %} @@ -221,12 +375,14 @@ {% endfor %} {% endif %}
+ + {# hidden iframe to handle upload #}
@@ -234,6 +390,8 @@ \ No newline at end of file