Index: /WAeUP_SRP/trunk/skins/waeup_accommodation/hall_allocation_list.py
===================================================================
--- /WAeUP_SRP/trunk/skins/waeup_accommodation/hall_allocation_list.py	(revision 1272)
+++ /WAeUP_SRP/trunk/skins/waeup_accommodation/hall_allocation_list.py	(revision 1273)
@@ -20,4 +20,7 @@
 fields = ("id",
           "name",
+          "hall",
+          "block",
+          "room",
           "bed",
           "matric_no",
@@ -43,9 +46,14 @@
         continue
     d = context.getFormattedStudentEntry(erg[0])
-    d['bed'] = bed.bed
+    hall,block,room,bed = bed.bed.split('_')
+    d['hall'] = hall
+    d['block'] = block
+    d['room'] = room
+    d['bed'] = bed
     lines.append(format % d)
 #setheader('Content-type', 'text/x-cvs')
 #setheader('Content-type','application/vnd.ms-excel')
 setheader('Content-type','text/semicolon-seperated-values')
+setheader('Content-Disposition:', 'attachment; filename="%s.csv"' % hall)
 setheader('Expires',  'Mon, 26 Jul 1997 05:00:00GMT') # Date in the past
 setheader('Cache-Control', 'no-store, no-cache,must-revalidate') # HTTP/1.1
