Make the web form reflect the patron load/update
authorDan Scott <dscott@laurentian.ca>
Thu, 8 Oct 2015 15:53:38 +0000 (11:53 -0400)
committerDan Scott <dscott@laurentian.ca>
Thu, 8 Oct 2015 15:53:38 +0000 (11:53 -0400)
Now that we sync the LDAP attributes directly through the web form, tell
the user that.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
tools/patron-load/templates/index.html

index 3087d83..9c1a0f1 100644 (file)
@@ -1,7 +1,7 @@
 $def with (uid, users)
 <html>
 <head>
-<title>Laurentian LDAP->Conifer account creation</title>
+<title>Laurentian LDAP->Conifer account create/sync</title>
 <style>
 :invalid { 
   border-color: #e88;
@@ -14,7 +14,7 @@ $def with (uid, users)
 </style>
 </head>
 <body>
-<h1>Laurentian LDAP->Conifer account creation</h1>
+<h1>Laurentian LDAP->Conifer account create/sync</h1>
 $if uid:
     $if len(users):
         $for user, barcode in users:
@@ -23,6 +23,9 @@ $if uid:
     $else:
         <p>Tried to create user with ID # $uid, but we either could not find a
         match, or it may already exist in Conifer.</p>
+        <p>If the account already existed in Conifer, then it will have been
+        updated to match the LDAP entry's first and last name, email address,
+        and affiliation with Laurentian (student, staff, faculty, alumnus).</p>
 
 <h2>Create an account</h2>
 <form action="/">
@@ -34,5 +37,8 @@ $if uid:
 input, checks the LDAP directory for a match, and then attempts to create an
 account in Conifer with a new barcode that will then be pushed back into the
 LDAP directory.</p>
+<p>If the account already exists in Conifer, then it will be
+updated to match the LDAP entry's first and last name, email address,
+and affiliation with Laurentian (student, staff, faculty, alumnus).</p>
 </body>
 </html>