Projet

Général

Profil

0001-workflows-fix-unknown-status-display-in-inspect-view.patch

Thomas Noël, 24 novembre 2016 14:25

Télécharger (934 octets)

Voir les différences:

Subject: [PATCH] workflows: fix unknown status display in inspect view
 (#14073)

 wcs/workflows.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
wcs/workflows.py
1568 1568
        for status in self.parent.parent.possible_status:
1569 1569
            if status.id == self.status:
1570 1570
                return htmltext('<a href="#status-%s">%s</a>') % (status.id, status.name)
1571
        return _('Unknown (%s)') % self.status.id
1571
        return _('Unknown (%s)') % self.status
1572 1572

  
1573 1573
    def get_parameter_view_value(self, widget, parameter):
1574 1574
        if hasattr(self, 'get_%s_parameter_view_value' % parameter):
1575
-