Project

General

Profile

0001-backoffice-remove-doubled-parenthesis-around-deleted.patch

Frédéric Péters, 10 Feb 2019 12:51 PM

Download (1.18 KB)

View differences:

Subject: [PATCH] backoffice: remove doubled parenthesis around "deleted" on
 inspect page (#30505)

 wcs/backoffice/management.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
wcs/backoffice/management.py
2418 2418
                        acting_role = Role.get(acting_role_id)
2419 2419
                        r += htmltext('<div class="value"><span>%s</span></div>') % acting_role.name
2420 2420
                    except KeyError:
2421
                        r += htmltext('<div class="value"><span>%s (%s)</span></div>') % (
2421
                        r += htmltext('<div class="value"><span>%s %s</span></div>') % (
2422 2422
                                acting_role_id, _('(deleted)'))
2423 2423
                else:
2424 2424
                    r += htmltext('<div class="value"><span class="unset">%s</span></div>') % _('unset')
2425
-