Index: main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/actionbutton.pt
===================================================================
--- main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/actionbutton.pt	(revision 6716)
+++ main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/actionbutton.pt	(revision 6717)
@@ -1,3 +1,3 @@
-<span class="yui-button">
+<span class="yui-button" tal:condition="viewlet/target_url">
   <span class="first-child">
     <a href=""
Index: main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/loginpage.pt
===================================================================
--- main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/loginpage.pt	(revision 6716)
+++ main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/loginpage.pt	(revision 6717)
@@ -29,5 +29,5 @@
   <p>You don't have an account because you are a fresh student or your student record has just been created?
   Acquire a Password Access Code (PWD) and inititialize your student account
-  <strong><a href  ="setpassword"> here </a></strong>.
+  <strong><a href  ="setpassword"> here</a></strong>.
   </p>
 
Index: main/waeup.sirp/trunk/src/waeup/sirp/students/browser.py
===================================================================
--- main/waeup.sirp/trunk/src/waeup/sirp/students/browser.py	(revision 6716)
+++ main/waeup.sirp/trunk/src/waeup/sirp/students/browser.py	(revision 6717)
@@ -586,4 +586,10 @@
     target = 'cedit'
 
+    @property
+    def target_url(self):
+        if self.context.clearance_locked:
+            return ''
+        return self.view.url(self.view.context, self.target)
+
 class StudentClearanceEditFormPage(StudentClearanceManageFormPage):
     """ View to edit student clearance data by student
Index: main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/setpassword.pt
===================================================================
--- main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/setpassword.pt	(revision 6716)
+++ main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/setpassword.pt	(revision 6717)
@@ -32,5 +32,5 @@
     </li>
     <li> After pressing the button, your Student Id will be displayed and your password set.
-        The new password is the 10-digit part of the access code just used.
+        The 10-digit part of the access code just used is your new password.
     </li>
     <li> Go to the <strong><a href="login">general login page</a></strong> and enter your new credentials.
