Projet

Général

Profil

0001-backoffice-add-links-to-individual-actions-on-inspec.patch

Frédéric Péters, 04 juillet 2021 22:37

Télécharger (1,1 ko)

Voir les différences:

Subject: [PATCH] backoffice: add links to individual actions on inspect page
 (#54922)

 wcs/admin/workflows.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
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>')
1596
-