<%namespace name="helper" file="jm2l:templates/helpers.mako"/> ## -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= ## Détail de l'échange d'hébergement ## -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= <%def name="ShowH(Exch)"> \ ${helper.show_exchange(Exch, Exch.asker, Exch.provider)}
Quoi
% if Exch.Category:
${Exch.Category.exch_subtype}
% else:
Un hébergement
% endif
Quand
La nuit du ${Exch.start_time.strftime('%A %d %b %Y')} jusqu'au lendemain
% if Exch.description:
Détails
${Exch.description}
% endif
\ ## -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= ## Proposition d'hébergement ## -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= <%def name="Heberg_Proposal(form)"> \ <% ## PlaceHolder, ContainerStyle, FieldStyle DicFormat = { "Day_start" :{'ContainerStyle':'float:left;', 'FieldStyle':'width:13em;'}, "exch_categ" :{'FieldStyle':'width:18em;'}, "description":{'FieldStyle':'width:85%;'} } %> ${helper.DisplayForm(form, DicFormat)} NB: Vous devez faire une proposition différente pour chaque nuit que vous proposez.
Indiquer l'adresse proposée. \ ## -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= ## Demande d'hébergement ## -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= <%def name="Heberg_Ask(form)"> \ <% ## PlaceHolder, ContainerStyle, FieldStyle DicFormat = { "description":{'FieldStyle':'width:85%;'} } %> ${helper.DisplayForm(form, DicFormat)} NB: Vous devez faire une demande différente pour chaque nuit d'hébergement demandée. \