- Timestamp:
- 13 Jan 2012, 09:00:08 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/browser.py
r7459 r7467 42 42 grok.require('waeup.manageACBatches') 43 43 44 title= 'Access Code Batches'44 label = 'Access Code Batches' 45 45 pnav = 0 46 46 … … 98 98 grok.require('waeup.manageACBatches') 99 99 100 title= 'Reimport Access Code Batches'100 label = 'Reimport Access Code Batches' 101 101 pnav = 0 102 102 … … 129 129 grok.template('searchpage') 130 130 grok.require('waeup.manageACBatches') 131 132 title = 'Access Codes' 133 pnav = 0 134 label = 'Search and manage access codes' 131 pnav = 0 132 label = 'Search and Manage Access Codes' 135 133 136 134 def update(self, *args, **kw): -
main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/browser_templates/batchcontainer.pt
r7459 r7467 1 <h2>Access Code Batches</h2>2 3 1 <form method="POST"> 4 2 <p> -
main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/browser_templates/reimportbatchpage.pt
r7459 r7467 1 <h3>Reimport Access Code Batches</h3>2 1 <p> Please select the files to reimport. Please note, that batches with same name have to be deleted before. 3 2 </p> -
main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser.py
r7459 r7467 60 60 grok.name('index') 61 61 grok.require('waeup.Public') 62 title = 'Applicants'63 62 label = 'Application Section' 64 63 pnav = 3 … … 73 72 grok.name('manage') 74 73 grok.template('applicantsrootmanagepage') 75 title = 'Applicants'76 74 label = 'Manage application section' 77 75 pnav = 3 … … 144 142 grok.name('add') 145 143 grok.template('applicantscontaineraddpage') 146 title = 'Applicants'147 144 label = 'Add applicants container' 148 145 pnav = 3 … … 229 226 230 227 @property 231 def title(self):228 def label(self): 232 229 return "Applicants Container: %s" % self.context.title 233 234 @property235 def label(self):236 return self.context.title237 230 238 231 class ApplicantsContainerManageFormPage(SIRPEditFormPage): … … 251 244 252 245 @property 253 def title(self):254 return "Applicants Container: %s" % self.context.title255 256 @property257 246 def label(self): 258 247 return 'Manage applicants container' … … 342 331 pnav = 3 343 332 344 @property345 def title(self):346 return "Applicants Container: %s" % self.context.title347 348 333 @action('Create application record') 349 334 def addApplicant(self, **data): … … 381 366 return 'set' 382 367 return 'unset' 383 384 @property385 def title(self):386 return 'Application Record %s' % self.context.application_number387 368 388 369 @property … … 486 467 487 468 @property 488 def title(self):489 return 'Online Payment Ticket %s' % self.context.p_id490 491 @property492 469 def label(self): 493 470 return '%s: Online Payment Ticket %s' % ( … … 650 627 upload, self.context, self) 651 628 return 652 653 @property654 def title(self):655 return 'Application Record %s' % self.context.application_number656 629 657 630 @property … … 767 740 grok.template('applicanteditpage') 768 741 manage_applications = False 769 title = u'Your Application Form'770 742 771 743 @property … … 879 851 'firstname', 'middlename', 'lastname', 'email', 'phone') 880 852 form_fields['phone'].custom_widget = PhoneWidget 881 882 @property883 def title(self):884 return "Applicants Container: %s" % self.context.title885 853 886 854 @property … … 936 904 grok.require('waeup.Public') 937 905 grok.template('applicantregemailsent') 938 title = 'Registration Completed'939 906 label = 'Your registration was successful' 940 907 -
main/waeup.sirp/trunk/src/waeup/sirp/hostels/browser.py
r7459 r7467 100 100 grok.template('containerpage') 101 101 label = 'Accommodation Section' 102 title = 'Hostels'103 102 pnav = 5 104 103 … … 118 117 grok.template('containermanagepage') 119 118 pnav = 5 120 title = 'Hostels'121 119 label = 'Manage accommodation section' 122 120 … … 154 152 #grok.template('hosteladdpage') 155 153 form_fields = grok.AutoFields(IHostel) 156 title = 'Hostels'157 154 label = 'Add hostel' 158 155 pnav = 5 … … 187 184 return self.context.hostel_name 188 185 189 @property190 def title(self):191 return self.context.hostel_name192 193 186 class HostelManageActionButton(ManageActionButton): 194 187 grok.order(1) … … 214 207 'Release selected beds'] 215 208 not_occupied = NOT_OCCUPIED 216 217 @property218 def title(self):219 return self.context.hostel_name220 209 221 210 @property … … 310 299 pnav = 5 311 300 312 @property313 def title(self):314 co = self.context.getBedCoordinates()315 return '%s, Block %s, Room %s, Bed %s' % (316 self.context.__parent__.hostel_name, co[1], co[2], co[3])317 318 301 @action('Save') 319 302 def save(self, **data):
Note: See TracChangeset for help on using the changeset viewer.