Projet

Général

Profil

0001-backoffice-add-link-to-go-back-to-global-view-26388.patch

Frédéric Péters, 13 septembre 2018 14:40

Télécharger (1,17 ko)

Voir les différences:

Subject: [PATCH] backoffice: add link to go back to global view (#26388)

 wcs/forms/common.py | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
wcs/forms/common.py
559 559
                        r += htmltext('</div>')
560 560
                r += htmltext('</div>')
561 561

  
562
        r += htmltext('<a href="..">%s</a>') % _('Back to Listing')
562
        r += htmltext('<div class="back-buttons">')
563
        r += htmltext('<a href="..">%s</a>') % _('Back to Forms')
564
        if get_publisher().is_using_postgresql():
565
            r += htmltext(' - <a href="%smanagement/listing">%s</a>') % (
566
                    get_publisher().get_backoffice_url(),
567
                    _('Back to All Forms'))
568
        r += htmltext('</div>')
569

  
563 570
        return r.getvalue()
564 571

  
565 572
    def submit(self, form, comment_only = False):
566
-