Changeset 3043 for WAeUP_SRP/base/skins/waeup_accommodation
- Timestamp:
- 24 Jan 2008, 18:02:36 (17 years ago)
- Location:
- WAeUP_SRP/base/skins/waeup_accommodation
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_accommodation/acco_folder_view.pt
r2890 r3043 22 22 <tr> 23 23 <th width="200px">Hall Name</th> 24 <th>New Beds Generated</th> 24 <th>Beds Generated</th> 25 <th>Beds Modyfied</th> 25 26 </tr> 26 27 <tr tal:repeat="hall beds_generated"> 27 28 <td tal:content="hall/name"></td> 28 29 <td tal:content="hall/count"></td> 30 <td tal:content="hall/modyfied_count"></td> 29 31 </tr> 30 32 </table> -
WAeUP_SRP/base/skins/waeup_accommodation/change_bed.py
r2454 r3043 44 44 return redirect("%s/%s/%s" % (students.absolute_url(),student,info['acco_id'])) 45 45 logger.info('Bed status %s of %s has changed to %s' % (allocated_bed.bed_type,student_id,status)) 46 beds.modifyRecord(bed=allocated_bed.bed,student= '')46 beds.modifyRecord(bed=allocated_bed.bed,student=beds.not_occupied) 47 47 logger.info('Bed %s released' % (allocated_bed.bed)) 48 48 code,bed = beds.searchAndReserveBed(student_id,status)
Note: See TracChangeset for help on using the changeset viewer.