diff options
Diffstat (limited to 'jm2l/templates/Logistique/Logistique.mako')
-rw-r--r-- | jm2l/templates/Logistique/Logistique.mako | 8 |
1 files changed, 4 insertions, 4 deletions
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> |