Changeset 7704
- Timestamp:
- 25 Feb 2012, 20:45:51 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/browser.txt
r7703 r7704 35 35 >>> print browser.contents 36 36 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"... 37 ...Welcome to ...37 ...Welcome to WAeUP.SIRP... 38 38 ... 39 39 … … 109 109 ...Plugins were updated. See log file for details... 110 110 ... 111 112 The default frontpage ReST has been saved in a dictionary 113 and is properly rendered on the frontpage of the portal: 114 115 >>> browser.open('http://localhost/myuniversity') 116 >>> print browser.contents 117 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"... 118 ...<h1>Welcome to the Student Information and Registration Portal...</h1> 119 ... 120 121 The German part is really not being rendered: 122 123 >>> 'Willkommen' in browser.contents 124 False 125 126 127 If we change to German so that the German part of frontpage.rst is rendered: 128 129 >>> browser.open('http://localhost/myuniversity//@@change_language?lang=de') 130 >>> print browser.contents 131 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"... 132 ...<h1>Willkommen im Studenteninformations- und Registrierungsportal</h1> 133 ... 134 135 The English part is really not being rendered: 136 137 >>> 'Welcome' in browser.contents 138 False 139 140 Switch back to English: 141 142 >>> browser.open('http://localhost/myuniversity//@@change_language?lang=en') 111 143 112 144 We can export a university as XML::
Note: See TracChangeset for help on using the changeset viewer.