0001-workflows-use-proper-list-for-forms-using-workflow-3.patch
wcs/admin/workflows.py | ||
---|---|---|
1516 | 1516 |
if formdefs: |
1517 | 1517 |
r += htmltext('<div class="bo-block">') |
1518 | 1518 |
r += htmltext('<h3>%s</h3>') % _('Forms') |
1519 |
r += htmltext('<p>%s ') % _('This workflow is used for the following forms:') |
|
1520 |
r += htmltext(', ').join([htmltext('<a href="../../forms/%s/">%s</a>') % (x.id, x.name) for x in formdefs]) |
|
1521 |
r += htmltext('</p>') |
|
1519 |
r += htmltext('<p class="hint">%s</p>') % _('This workflow is used for the following forms:') |
|
1520 |
r += htmltext('<ul class="biglist">') |
|
1521 |
for formdef in sorted(formdefs, key=lambda x: misc.simplify(x.name)): |
|
1522 |
r += htmltext('<li class="biglistitem"><a href="../../forms/%s/">%s</a></li>') % (formdef.id, formdef.name) |
|
1523 |
r += htmltext('</ul>') |
|
1522 | 1524 |
r += htmltext('</div>') |
1523 | 1525 | |
1524 | 1526 |
get_response().filter['sidebar'] = self.get_sidebar() |
1525 |
- |