Changeset 2823 for WAeUP_SRP/base
- Timestamp:
- 29 Nov 2007, 08:43:31 (17 years ago)
- Location:
- WAeUP_SRP/base
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/Accommodation.py
r2454 r2823 54 54 if r] 55 55 #for block in range(1,int(h.nr_of_blocks)+1): 56 for block in 'ABCDEFGHIJ'[:int(h.nr_of_blocks)]: 56 # for block in 'ABCDEFGHIJ'[:int(h.nr_of_blocks)]: 57 if set(h.blocks_for_female).intersection(set(h.blocks_for_male)): 58 return self.accommodation.acco_folder_view(beds_generated=beds_generated) 59 for block in h.blocks_for_female + h.blocks_for_male: 57 60 sex = 'male' 58 61 if block in h.blocks_for_female: -
WAeUP_SRP/base/skins/waeup_accommodation/acco_folder_view.pt
r1783 r2823 2 2 is_so context/isSectionOfficer; 3 3 beds_generated options/beds_generated|nothing;" 4 psm options/psm|nothing;" 4 5 > 5 6 <metal:body use-macro="here/main_template/macros/master"> … … 17 18 </h3> 18 19 <br /> 20 <h3 tal:condition="psm" tal:content="psm"></h3> 19 21 <table tal:condition="beds_generated"> 20 22 <tr>
Note: See TracChangeset for help on using the changeset viewer.