diff --git a/jm2l/templates/view_event.mako b/jm2l/templates/view_event.mako index 9b0762f..d0b3313 100644 --- a/jm2l/templates/view_event.mako +++ b/jm2l/templates/view_event.mako @@ -15,9 +15,9 @@ ${event.start_time.strftime('%H:%M')} à ${event.end_time.strftime('%H:%M')} %if event.event_uid: Link - %endif -% if event.for_year==2015 and (request.user.Staff or request.user in event.intervenants): +% if event.for_year==2015 and request.user and (request.user.Staff or request.user in event.intervenants): Editer -% elif request.user.Staff: +% elif request.user and request.user.Staff: Editer % endif

${event.name}