Projet

Général

Profil

0001-backoffice-include-real-a-link-to-form-in-global-lis.patch

Frédéric Péters, 17 avril 2016 22:20

Télécharger (1,2 ko)

Voir les différences:

Subject: [PATCH] backoffice: include real <a> link to form in global listing
 (#10680)

 wcs/backoffice/management.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
wcs/backoffice/management.py
753 753
            if include_submission_channel:
754 754
                r += htmltext('<td>%s</td>') % formdata.get_submission_channel_label()
755 755
            r += htmltext('<td>%s</td>') % formdata.formdef.name
756
            r += htmltext('<td>%s</td>') % formdata.get_display_id()
756
            r += htmltext('<td><a href="%s">%s</a></td>') % (
757
                    formdata.get_url(backoffice=True), formdata.get_display_id())
757 758
            r += htmltext('<td class="cell-time">%s</td>') % misc.localstrftime(
758 759
                    formdata.receipt_time)
759 760
            r += htmltext('<td class="cell-time">%s</td>') % misc.localstrftime(
760
-