0001-backoffice-add-links-to-individual-actions-on-inspec.patch
wcs/admin/workflows.py | ||
---|---|---|
1589 | 1589 |
if not status.items: |
1590 | 1590 |
r += htmltext('<p>%s</p>') % _('No actions in this status.') |
1591 | 1591 |
for item in status.items or []: |
1592 |
r += htmltext('<h4>%s</h4>') % item.description |
|
1592 |
r += htmltext('<h4><a href="status/%s/items/%s/">%s</a></h4>') % ( |
|
1593 |
status.id, |
|
1594 |
item.id, |
|
1595 |
item.description, |
|
1596 |
) |
|
1593 | 1597 |
r += item.get_parameters_view() |
1594 | 1598 |
r += htmltext('</div>') |
1595 | 1599 |
r += htmltext('</div>') |
... | ... | |
1606 | 1610 |
r += htmltext('</ul>') |
1607 | 1611 |
r += htmltext('</h3>') |
1608 | 1612 |
for item in action.items or []: |
1609 |
r += htmltext('<h4>%s</h4>') % item.description |
|
1613 |
r += htmltext('<h4><a href="global-actions/%s/items/%s/">%s</a></h4>') % ( |
|
1614 |
action.id, |
|
1615 |
item.id, |
|
1616 |
item.description, |
|
1617 |
) |
|
1610 | 1618 |
r += item.get_parameters_view() |
1611 | 1619 |
r += htmltext('</div>') |
1612 | 1620 |
r += htmltext('</div>') |
1613 |
- |