From eca6afba9656c103ffe037106d75d6fe1d943105 Mon Sep 17 00:00:00 2001
From: Guillaume Rousse <guillaume.rousse@renater.fr>
Date: Fri, 12 Feb 2021 13:30:13 +0100
Subject: [PATCH] switch elements order in modal window

---
 templates/web/edugain/create_accounts.tt2.html | 14 +++++++-------
 templates/web/renater/create_accounts.tt2.html | 14 +++++++-------
 2 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/templates/web/edugain/create_accounts.tt2.html b/templates/web/edugain/create_accounts.tt2.html
index 29b6559..5641111 100644
--- a/templates/web/edugain/create_accounts.tt2.html
+++ b/templates/web/edugain/create_accounts.tt2.html
@@ -45,6 +45,13 @@
         </button>
         <h3>[% lh.maketext("User attributes list") %]</h3>
 
+        <div class="callout warning">
+            [% lh.maketext(
+                "eduPersonAffiliation and eduPersonScopedAffiliation attributes are assigned <a href=\"[_1]\">quite differently from federation to federation</a>, therefore their values should be handled with great care."
+                "http://tnc2010.terena.org/files/ePSA%20comparison%20v0%2006.ppt"
+            ) %]
+        </div>
+
         <table>
     [% FOREACH pair IN attributes.pairs %]
             <tr>
@@ -55,13 +62,6 @@
                 <th>eduPersonTargetedID:</th><td><i>[% lh.maketext("value dynamically generated for each SP") %]</i></td>
             </tr>
         </table>
-
-        <div class="callout warning">
-            [% lh.maketext(
-                "eduPersonAffiliation and eduPersonScopedAffiliation attributes are assigned <a href=\"[_1]\">quite differently from federation to federation</a>, therefore their values should be handled with great care."
-                "http://tnc2010.terena.org/files/ePSA%20comparison%20v0%2006.ppt"
-            ) %]
-        </div>
     </div>
     [% END %]
 </div>
diff --git a/templates/web/renater/create_accounts.tt2.html b/templates/web/renater/create_accounts.tt2.html
index 7b0ae09..f8549e2 100644
--- a/templates/web/renater/create_accounts.tt2.html
+++ b/templates/web/renater/create_accounts.tt2.html
@@ -47,6 +47,13 @@
         </button>
         <h3>[% lh.maketext("User attributes list") %]</h3>
 
+        <div class="callout alert-callout-border warning">
+            [% lh.maketext(
+                "eduPersonAffiliation and eduPersonScopedAffiliation attributes are assigned <a href=\"[_1]\">quite differently from federation to federation</a>, therefore their values should be handled with great care.",
+                "http://tnc2010.terena.org/files/ePSA%20comparison%20v0%2006.ppt")
+            %]
+        </div>
+
         <table>
     [% FOREACH pair IN attributes.pairs %]
             <tr>
@@ -57,13 +64,6 @@
                 <th>eduPersonTargetedID:</th><td><i>[% lh.maketext("value dynamically generated for each SP") %]</i></td>
             </tr>
         </table>
-
-        <div class="callout alert-callout-border warning">
-            [% lh.maketext(
-                "eduPersonAffiliation and eduPersonScopedAffiliation attributes are assigned <a href=\"[_1]\">quite differently from federation to federation</a>, therefore their values should be handled with great care.",
-                "http://tnc2010.terena.org/files/ePSA%20comparison%20v0%2006.ppt")
-            %]
-        </div>
     </div>
     [% END %]
 </div>
-- 
GitLab