backoffice: embed form history into a bo-block

This commit is contained in:
Frédéric Péters 2012-08-16 17:10:13 +02:00
parent 7b33eacf9c
commit f7cb44eccc
1 changed files with 2 additions and 0 deletions

View File

@ -148,6 +148,7 @@ class FormStatusPage(Directory):
return
if not self.formdef.is_user_allowed_read_status_and_history(get_request().user, self.filled):
return
'<div class="bo-block">'
'<h2>%s</h2>' % _('Log')
'<dl id="evolutions">'
for evo in self.filled.evolution:
@ -189,6 +190,7 @@ class FormStatusPage(Directory):
t
'</dd>'
'</dl>'
'</div>' # bo-block
def check_receiver(self):
session = get_session()