From 3ba53a52634078cacf1f64fa1ef9ead0c9887590 Mon Sep 17 00:00:00 2001
From: "florian.azizian" <florian.azizian@maarch.org>
Date: Tue, 23 Oct 2018 10:51:18 +0100
Subject: [PATCH] FIX #8551 align order in result list

---
 .../template/documents_list_copies.html          | 14 +++++++-------
 .../template/documents_list_search_adv.html      | 12 ++++++------
 .../documents_list_with_attachments.html         | 14 +++++++-------
 .../avis/template/documents_list_with_avis.html  | 16 ++++++++--------
 .../template/documents_list_with_signatory.html  | 14 +++++++-------
 5 files changed, 35 insertions(+), 35 deletions(-)

diff --git a/apps/maarch_entreprise/template/documents_list_copies.html b/apps/maarch_entreprise/template/documents_list_copies.html
index 1e90bd906c9..1bceaf94ae1 100755
--- a/apps/maarch_entreprise/template/documents_list_copies.html
+++ b/apps/maarch_entreprise/template/documents_list_copies.html
@@ -67,25 +67,25 @@ Mods
                 </th>
                 <th>
                     <div style="display:flex;">
-                        <span style="text-align:center;flex:1;">
+                        <span style="flex:1;">
                             ##defineLang|_SUBJECT## / ##defineLang|_PRIORITY##<br/>##sortColumn|subject## / ##sortColumn|priority##
                         </span>
-                        <span style="text-align:center;flex:1;">
+                        <span style="flex:1;">
                             ##defineLang|_CATEGORY##<br/>##sortColumn|category_id##
                         </span>
-                        <span style="text-align:center;flex:1;">
+                        <span style="flex:1;">
                             ##defineLang|_CREATION_DATE##<br/>##sortColumn|creation_date##
                         </span>
-                        <span style="text-align:center;flex:1;">
+                        <span style="flex:1;">
                             ##defineLang|_PROCESS_LIMIT_DATE##<br/>##sortColumn|process_limit_date##
                         </span>
-                        <span style="text-align:center;flex:2;">
+                        <span style="flex:2;">
                             ##defineLang|_ASSIGNEE## - ##defineLang|_REDACTOR## / ##defineLang|_ENTITY##<br/>##sortColumn|dest_user## / ##sortColumn|entity_label##
                         </span>
-                        <span style="text-align:center;flex:1;">
+                        <span style="flex:1;">
                             ##defineLang|_TYPE##<br/>##sortColumn|type_label##
                         </span>
-                        <span style="text-align:center;flex:1;">
+                        <span style="flex:1;">
                             ##defineLang|_DEST_USER## / ##defineLang|_SHIPPER##<br/>
                         </span>
                     </div>
diff --git a/apps/maarch_entreprise/template/documents_list_search_adv.html b/apps/maarch_entreprise/template/documents_list_search_adv.html
index 2761b298c77..784ca18b3f4 100755
--- a/apps/maarch_entreprise/template/documents_list_search_adv.html
+++ b/apps/maarch_entreprise/template/documents_list_search_adv.html
@@ -67,22 +67,22 @@ Mods
                 </th>
                 <th>
                     <div style="display:flex;">
-                        <span style="text-align:center;flex:1;">
+                        <span style="flex:1;">
                             ##defineLang|_SUBJECT## / ##defineLang|_PRIORITY##<br/>##sortColumn|subject## / ##sortColumn|priority##
                         </span>
-                        <span style="text-align:center;flex:1;">
+                        <span style="flex:1;">
                             ##defineLang|_CATEGORY##<br/>##sortColumn|category_id##
                         </span>
-                        <span style="text-align:center;flex:1;">
+                        <span style="flex:1;">
                             ##defineLang|_CREATION_DATE##<br/>##sortColumn|creation_date##
                         </span>
-                        <span style="text-align:center;flex:2;">
+                        <span style="flex:2;">
                             ##defineLang|_ASSIGNEE## - ##defineLang|_REDACTOR## / ##defineLang|_ENTITY##<br/>##sortColumn|dest_user## / ##sortColumn|entity_label##
                         </span>
-                        <span style="text-align:center;flex:2;">
+                        <span style="flex:2;">
                             ##defineLang|_TYPE##<br/>##sortColumn|type_label##
                         </span>
-                        <span style="text-align:center;flex:1;">
+                        <span style="flex:1;">
                             ##defineLang|_DEST_USER## / ##defineLang|_SHIPPER##<br/>
                         </span>
                     </div>
diff --git a/apps/maarch_entreprise/template/documents_list_with_attachments.html b/apps/maarch_entreprise/template/documents_list_with_attachments.html
index b17789d8873..31910c86e6d 100755
--- a/apps/maarch_entreprise/template/documents_list_with_attachments.html
+++ b/apps/maarch_entreprise/template/documents_list_with_attachments.html
@@ -67,25 +67,25 @@ Mods
                 </th>
                 <th>
                     <div style="display:flex;">
-                        <span style="text-align:center;flex:1;">
+                        <span style="flex:1;">
                             ##defineLang|_SUBJECT## / ##defineLang|_PRIORITY##<br/>##sortColumn|subject## / ##sortColumn|priority##
                         </span>
-                        <span style="text-align:center;flex:1;">
+                        <span style="flex:1;">
                             ##defineLang|_CATEGORY##<br/>##sortColumn|category_id##
                         </span>
-                        <span style="text-align:center;flex:1;">
+                        <span style="flex:1;">
                             ##defineLang|_CREATION_DATE##<br/>##sortColumn|creation_date##
                         </span>
-                        <span style="text-align:center;flex:1;">
+                        <span style="flex:1;">
                             ##defineLang|_PROCESS_LIMIT_DATE##<br/>##sortColumn|process_limit_date##
                         </span>
-                        <span style="text-align:center;flex:2;">
+                        <span style="flex:2;">
                             ##defineLang|_ASSIGNEE## - ##defineLang|_REDACTOR## / ##defineLang|_ENTITY##<br/>##sortColumn|dest_user## / ##sortColumn|entity_label##
                         </span>
-                        <span style="text-align:center;flex:1;">
+                        <span style="flex:1;">
                             ##defineLang|_TYPE##<br/>##sortColumn|type_label##
                         </span>
-                        <span style="text-align:center;flex:1;">
+                        <span style="flex:1;">
                             ##defineLang|_DEST_USER## / ##defineLang|_SHIPPER##<br/>
                         </span>
                     </div>
diff --git a/modules/avis/template/documents_list_with_avis.html b/modules/avis/template/documents_list_with_avis.html
index fc767a16885..f1af6f6f8db 100755
--- a/modules/avis/template/documents_list_with_avis.html
+++ b/modules/avis/template/documents_list_with_avis.html
@@ -67,25 +67,25 @@ Mods
                 </th>
                 <th>
                     <div style="display:flex;">
-                        <span style="text-align:center;flex:1;">
+                        <span style="flex:1;">
                             ##defineLang|_SUBJECT## / ##defineLang|_PRIORITY##<br/>##sortColumn|subject## / ##sortColumn|priority##
                         </span>
-                        <span style="text-align:center;flex:1;">
+                        <span style="flex:1;">
                             ##defineLang|_CATEGORY##<br/>##sortColumn|category_id##
                         </span>
-                        <span style="text-align:center;flex:1;">
+                        <span style="flex:1;">
                             ##defineLang|_CREATION_DATE##<br/>##sortColumn|creation_date##
                         </span>
-                        <span style="text-align:center;flex:1;">
+                        <span style="flex:1;">
                             ##defineLang|_MODIFICATION_DATE##<br/>##sortColumn|modification_date##
                         </span>
-                        <span style="text-align:center;flex:2;">
+                        <span style="flex:2;">
                             ##defineLang|_ASSIGNEE## - ##defineLang|_REDACTOR## / ##defineLang|_ENTITY##<br/>##sortColumn|dest_user## / ##sortColumn|entity_label##
                         </span>
-                        <span style="text-align:center;flex:1;">
+                        <span style="flex:1;">
                             ##defineLang|_TYPE## / ##defineLang|_NB_AVIS##<br/>##sortColumn|type_label##
                         </span>
-                        <span style="text-align:center;flex:1;">
+                        <span style="flex:1;">
                             ##defineLang|_DEST_USER## / ##defineLang|_SHIPPER##<br/>
                         </span>
                     </div>
@@ -192,4 +192,4 @@ Mods
     $j('#container').attr('style', 'width: 90%; min-width: 1000px;');
     $j('#content').attr('style', 'width: auto; min-width: 1000px;');
     $j('table#extended_list').attr('style', 'width: 100%; min-width: 900px; margin: 0;');
-</script>
\ No newline at end of file
+</script>
diff --git a/modules/visa/template/documents_list_with_signatory.html b/modules/visa/template/documents_list_with_signatory.html
index 7a577fdb311..310baed9940 100755
--- a/modules/visa/template/documents_list_with_signatory.html
+++ b/modules/visa/template/documents_list_with_signatory.html
@@ -67,25 +67,25 @@ Mods
                 </th>
                 <th>
                     <div style="display:flex;">
-                        <span style="text-align:center;flex:1;">
+                        <span style="flex:1;">
                             ##defineLang|_SUBJECT## / ##defineLang|_PRIORITY##<br/>##sortColumn|subject## / ##sortColumn|priority##
                         </span>
-                        <span style="text-align:center;flex:1;">
+                        <span style="flex:1;">
                             ##defineLang|_CATEGORY##<br/>##sortColumn|category_id##
                         </span>
-                        <span style="text-align:center;flex:1;">
+                        <span style="flex:1;">
                             ##defineLang|_CREATION_DATE##<br/>##sortColumn|creation_date##
                         </span>
-                        <span style="text-align:center;flex:1;">
+                        <span style="flex:1;">
                             ##defineLang|_PROCESS_LIMIT_DATE##<br/>##sortColumn|process_limit_date##
                         </span>
-                        <span style="text-align:center;flex:2;">
+                        <span style="flex:2;">
                             ##defineLang|_ASSIGNEE## - ##defineLang|_REDACTOR## / ##defineLang|_ENTITY##<br/>##sortColumn|dest_user## / ##sortColumn|entity_label##
                         </span>
-                        <span style="text-align:center;flex:1;">
+                        <span style="flex:1;">
                             ##defineLang|_TYPE##<br/>##sortColumn|type_label##
                         </span>
-                        <span style="text-align:center;flex:1;">
+                        <span style="flex:1;">
                             ##defineLang|_SIGNATORY##<br/><br/>
                         </span>
                     </div>
-- 
GitLab