admin: fix breadcrumb of formdef/workflow import pages

This commit is contained in:
Frédéric Péters 2014-10-30 11:17:23 +01:00
parent 5bbb7b6b2d
commit a207827a5c
2 changed files with 3 additions and 1 deletions

View File

@ -1463,6 +1463,7 @@ class FormsDirectory(AccessControlled, Directory):
except ValueError:
pass
get_response().breadcrumb.append( ('forms/', _('Forms')) )
get_response().breadcrumb.append( ('import', _('Import')) )
self.html_top(title = _('Import Form'))
r = TemplateIO(html=True)

View File

@ -976,8 +976,9 @@ class WorkflowsDirectory(Directory):
except ValueError:
pass
get_response().breadcrumb.append( ('workflows/', _('Workflows')) )
get_response().breadcrumb.append( ('import', _('Import')) )
html_top('forms', title = _('Import Workflow'))
html_top('workflows', title = _('Import Workflow'))
r = TemplateIO(html=True)
r += htmltext('<h2>%s</h2>') % _('Import Workflow')
r += htmltext('<p>%s</p>') % _(