diff options
Diffstat (limited to 'jm2l/templates/Logistique')
-rw-r--r-- | jm2l/templates/Logistique/Dialog_Covoit.mako | 2 | ||||
-rw-r--r-- | jm2l/templates/Logistique/Dialog_Heberg.mako | 2 | ||||
-rw-r--r-- | jm2l/templates/Logistique/Dialog_Matos.mako | 4 | ||||
-rw-r--r-- | jm2l/templates/Logistique/Logistique.mako | 8 | ||||
-rw-r--r-- | jm2l/templates/Logistique/Tables.mako | 8 |
5 files changed, 12 insertions, 12 deletions
diff --git a/jm2l/templates/Logistique/Dialog_Covoit.mako b/jm2l/templates/Logistique/Dialog_Covoit.mako index 7e2bf9b..3530f15 100644 --- a/jm2l/templates/Logistique/Dialog_Covoit.mako +++ b/jm2l/templates/Logistique/Dialog_Covoit.mako @@ -30,7 +30,7 @@ </tbody> </table> <center> - Pour un co-voiturage le <u>${Exch.start_time.strftime("%a %d %b").decode('utf-8')}</u> + Pour un co-voiturage le <u>${Exch.start_time.strftime("%a %d %b")}</u> vers <strong>${Exch.start_time.strftime("%H:%M")}</strong> </center> Temps de voyage estimé à <span id="summary"></span> diff --git a/jm2l/templates/Logistique/Dialog_Heberg.mako b/jm2l/templates/Logistique/Dialog_Heberg.mako index 75f6ce3..737dfd5 100644 --- a/jm2l/templates/Logistique/Dialog_Heberg.mako +++ b/jm2l/templates/Logistique/Dialog_Heberg.mako @@ -12,7 +12,7 @@ <dd>Un hébergement</dd> % endif <dt>Quand </dt> - <dd>La nuit du ${Exch.start_time.strftime('%A %d %b %Y').decode('utf-8')} jusqu'au lendemain</dd> + <dd>La nuit du ${Exch.start_time.strftime('%A %d %b %Y')} jusqu'au lendemain</dd> % if Exch.description: <dt>Détails </dt> <dd>${Exch.description}</dd> diff --git a/jm2l/templates/Logistique/Dialog_Matos.mako b/jm2l/templates/Logistique/Dialog_Matos.mako index 4f2085c..4974dd9 100644 --- a/jm2l/templates/Logistique/Dialog_Matos.mako +++ b/jm2l/templates/Logistique/Dialog_Matos.mako @@ -8,8 +8,8 @@ <dt>Catégorie</dt> <dd>${Exch.Category.exch_subtype}</dd> <dt>Quand </dt> - <dd>de ${Exch.start_time.strftime('%A %d %b %Y').decode('utf-8')} vers ${Exch.start_time.strftime('%Hh%M')} - à ${Exch.end_time.strftime('%A %d %b %Y').decode('utf-8')} vers ${Exch.end_time.strftime('%Hh%M')} + <dd>de ${Exch.start_time.strftime('%A %d %b %Y')} vers ${Exch.start_time.strftime('%Hh%M')} + à ${Exch.end_time.strftime('%A %d %b %Y')} vers ${Exch.end_time.strftime('%Hh%M')} </dd> <dt>Détails </dt> <dd>${Exch.description}</dd> diff --git a/jm2l/templates/Logistique/Logistique.mako b/jm2l/templates/Logistique/Logistique.mako index adb55ae..ce3f86b 100644 --- a/jm2l/templates/Logistique/Logistique.mako +++ b/jm2l/templates/Logistique/Logistique.mako @@ -112,7 +112,7 @@ elif Type=='M': <a href="/user/${item.provider.slug}"> ${item.provider.prenom} ${item.provider.nom} </a> offre % endif % if item.exch_type=="C": - un co-voiturage le ${item.start_time.strftime('%a %d %b vers %Hh%M').decode('utf-8')} + un co-voiturage le ${item.start_time.strftime('%a %d %b vers %Hh%M')} de <a href="javascript:DoGetLieu('/2015/modal/Place/${item.Itin.start.place_id}')">${item.Itin.start.display_name}</a> à <a href="javascript:DoGetLieu('/2015/modal/Place/${item.Itin.arrival.place_id}')">${item.Itin.arrival.display_name}</a> % elif item.exch_type=="M": @@ -122,8 +122,8 @@ elif Type=='M': % if item.description: ${item.description[:30]} % endif - de ${item.start_time.strftime('%a %d %b %Hh%M').decode('utf-8')} - à ${item.end_time.strftime('%a %d %b %Hh%M').decode('utf-8')} + de ${item.start_time.strftime('%a %d %b %Hh%M')} + à ${item.end_time.strftime('%a %d %b %Hh%M')} % else: % if item.Category: <i>${item.Category.exch_subtype}</i> @@ -131,7 +131,7 @@ elif Type=='M': % if item.description: ${item.description[:30]} % endif - ${item.start_time.strftime('%a %d %b').decode('utf-8')} soir + ${item.start_time.strftime('%a %d %b')} soir % endif </p> </td> diff --git a/jm2l/templates/Logistique/Tables.mako b/jm2l/templates/Logistique/Tables.mako index c97ea83..a8bbf06 100644 --- a/jm2l/templates/Logistique/Tables.mako +++ b/jm2l/templates/Logistique/Tables.mako @@ -97,17 +97,17 @@ elif Type=='M': </td> <td> %if Type=='C': - ${item.start_time.strftime('%A %d %b %Y').decode('utf-8')} vers ${item.start_time.strftime('%Hh%M')} + ${item.start_time.strftime('%A %d %b %Y')} vers ${item.start_time.strftime('%Hh%M')} de <a href="javascript:DoGetLieu('/2015/modal/Place/${item.Itin.start.place_id}')">${item.Itin.start.display_name}</a> à <a href="javascript:DoGetLieu('/2015/modal/Place/${item.Itin.arrival.place_id}')">${item.Itin.arrival.display_name}</a> %elif Type=='H': % if item.Category: <i>${item.Category.exch_subtype}</i>, % endif - La nuit du ${item.start_time.strftime('%A %d %b %Y').decode('utf-8')}<br> + La nuit du ${item.start_time.strftime('%A %d %b %Y')}<br> %elif Type=='M': - de ${item.start_time.strftime('%A %d %b %Y').decode('utf-8')} vers ${item.start_time.strftime('%Hh%M')} - à ${item.end_time.strftime('%A %d %b %Y').decode('utf-8')} vers ${item.end_time.strftime('%Hh%M')}<br> + de ${item.start_time.strftime('%A %d %b %Y')} vers ${item.start_time.strftime('%Hh%M')} + à ${item.end_time.strftime('%A %d %b %Y')} vers ${item.end_time.strftime('%Hh%M')}<br> ${item.Category.exch_subtype} %endif %if item.description: |