diff options
Diffstat (limited to 'jm2l/templates/trash/Hebergement.mako')
-rw-r--r-- | jm2l/templates/trash/Hebergement.mako | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/jm2l/templates/trash/Hebergement.mako b/jm2l/templates/trash/Hebergement.mako deleted file mode 100644 index 9d4ddd4..0000000 --- a/jm2l/templates/trash/Hebergement.mako +++ /dev/null @@ -1,47 +0,0 @@ -<%namespace name="h" file="jm2l:templates/helpers.mako"/> -## -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -## Détail de l'échange d'hébergement -## -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -<%def name="ShowH(Exch)"> \ - ${h.show_exchange(Exch, Exch.asker, Exch.provider)} - <dl> - <dt>Quoi</dt> - <dd>${Exch.Category.exch_subtype}</dd> - <dt>Quand </dt> - <dd>La nuit du ${Exch.start_time.strftime('%A %d %b %Y').decode('utf-8')} jusqu'au lendemain</dd> - % if Exch.description: - <dt>Détails </dt> - <dd>${Exch.description}</dd> - % endif - </dl> -</%def> \ -## -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -## 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%;'} - } -%> - ${h.DisplayForm(form, DicFormat)} - NB: Vous devez faire une proposition différente pour chaque nuit que vous proposez. - <br> - <a class="btn btn-mini btn-info" role="button" href="javascript:DoGetLieu('/2015/modal/Place/0');"> - <i class="icon-plus-sign icon-white"></i> Indiquer l'adresse proposée. - </a> -</%def> \ -## -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -## Demande d'hébergement -## -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -<%def name="Heberg_Ask(form)"> \ -<% ## PlaceHolder, ContainerStyle, FieldStyle - DicFormat = { - "description":{'FieldStyle':'width:85%;'} - } -%> - ${h.DisplayForm(form, DicFormat)} - NB: Vous devez faire une demande différente pour chaque nuit d'hébergement demandée. -</%def> \ |