Changeset 7222 for main/waeup.sirp/trunk/src/waeup/sirp
- Timestamp:
- 27 Nov 2011, 07:48:48 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/browser.txt
r7208 r7222 127 127 >>> browser.getControl(name="password").value = 'secret' 128 128 >>> browser.getControl(name="control_password").value = 'secret' 129 >>> browser.getControl(name="form.email").value = 'xx@yy.zz' 129 130 >>> browser.getControl("Add user").click() 130 131 >>> print browser.contents … … 160 161 >>> browser.getControl(name="password").value = 'secret' 161 162 >>> browser.getControl(name="control_password").value = 'secret' 163 >>> browser.getControl(name="form.email").value = 'xx@yy.zz' 162 164 >>> browser.getControl("Add user").click() 163 165 >>> 'The userid chosen already exists' in browser.contents -
main/waeup.sirp/trunk/src/waeup/sirp/browser/pages.py
r7221 r7222 477 477 478 478 @property 479 def get_user_account(self): 480 return get_user_account(self.request) 481 482 @property 479 483 def namefield_label(self): 480 484 if self.request.principal.title == 'Applicant': -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/contactadminform.pt
r6689 r7222 23 23 <strong>Email: </strong> 24 24 </td> 25 <td >25 <td tal:condition="not:view/get_user_account"> 26 26 <input name="email" type="text" id="email" /> 27 </td> 28 <td tal:condition="view/get_user_account"> 29 <span tal:content="view/get_user_account/email" /> 30 <input type="hidden" name="fullname" type="text" id="fullname" 31 tal:attributes="value view/get_user_account/email"/> 27 32 </td> 28 33 </tr> -
main/waeup.sirp/trunk/src/waeup/sirp/interfaces.py
r7221 r7222 222 222 title = u'Email', 223 223 default = None, 224 required = False,224 required = True, 225 225 constraint=validate_email, 226 226 )
Note: See TracChangeset for help on using the changeset viewer.