From 634eecfc99e6a4ef95454c954137085db88cf3cd Mon Sep 17 00:00:00 2001 From: Pierre GIRAUD Date: Fri, 17 Oct 2014 13:32:50 +0200 Subject: [PATCH] Move unlock button to more appropriate location --- osmtm/templates/task.locked.mako | 2 ++ osmtm/templates/task.state.ready.mako | 5 ----- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/osmtm/templates/task.locked.mako b/osmtm/templates/task.locked.mako index feb5004d..b9264543 100644 --- a/osmtm/templates/task.locked.mako +++ b/osmtm/templates/task.locked.mako @@ -10,6 +10,8 @@ time_left = (task.cur_lock.date - (datetime.datetime.utcnow() - EXPIRATION_DELTA ${locked_text|n}.  % if user and task.cur_lock.user== user: + + ${_('Unlock')} <%include file="task.comment.mako" /> - - ${_('Unlock')} - % endif