Changeset 11058 for main/waeup.kofa/branches/uli-diazo-themed/src
- Timestamp:
- 6 Feb 2014, 08:54:59 (11 years ago)
- Location:
- main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/browser/templates/filedisplay.pt
r8106 r11058 4 4 </td> 5 5 <td> 6 <a tal:attributes="href viewlet/download_name"6 <a tal:attributes="href python: view.url(context, viewlet.download_name)" 7 7 tal:content="viewlet/download_name" 8 8 target="image"> -
main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/browser/templates/fileupload.pt
r11026 r11058 5 5 <td> 6 6 <tal:file tal:condition="viewlet/file_exists"> 7 <a tal:attributes="href viewlet/download_name"7 <a tal:attributes="href python: view.url(context, viewlet.download_name)" 8 8 tal:content="viewlet/title" 9 9 target="image"> -
main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/students/browser_templates/imagedisplay.pt
r7459 r11058 4 4 </td> 5 5 <td> 6 <img height="125px" tal:attributes="src viewlet/download_name" /> 6 <img height="125px" 7 tal:attributes="src python: view.url(context, viewlet.download_name)" /> 7 8 <br /> 8 9 </td> -
main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/students/browser_templates/imageupload.pt
r11013 r11058 5 5 <td> 6 6 <img align="middle" height="125px" 7 tal:attributes="src viewlet/download_name" />7 tal:attributes="src python: view.url(context, viewlet.download_name)" /> 8 8 <input type="submit" tal:condition="viewlet/file_exists" 9 9 tal:attributes="id python:('delete_%s' % viewlet.input_name); -
main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/students/tests/test_browser.py
r11028 r11058 613 613 # There is a correct <img> link included 614 614 self.assertTrue( 615 ' <a target="image" href="birth_certificate">'615 'href="http://localhost/app/students/K1000000/birth_certificate"' 616 616 in self.browser.contents) 617 617 # Browsing the link shows a real image … … 673 673 name='upload_passportuploadmanage').click() 674 674 self.assertTrue( 675 ' <img align="middle" height="125px" src="passport.jpg" />'675 'src="http://localhost/app/students/K1000000/passport.jpg"' 676 676 in self.browser.contents) 677 677 # We remove the passport file again … … 2268 2268 name='upload_passportuploadedit').click() 2269 2269 self.assertTrue( 2270 ' <img align="middle" height="125px" src="passport.jpg" />'2270 'src="http://localhost/app/students/K1000000/passport.jpg"' 2271 2271 in self.browser.contents) 2272 2272 # Students can open admission letter … … 2326 2326 name='upload_birthcertificateupload').click() 2327 2327 self.assertTrue( 2328 ' <a target="image" href="birth_certificate">Birth Certificate Scan</a>'2328 'href="http://localhost/app/students/K1000000/birth_certificate"' 2329 2329 in self.browser.contents) 2330 2330 # Students can open clearance slip
Note: See TracChangeset for help on using the changeset viewer.