backoffice: remove doubled parenthesis around "deleted" on inspect page (#30505)

This commit is contained in:
Frédéric Péters 2019-02-10 12:50:43 +01:00
parent e5026f3dcc
commit 9520fa5d02
1 changed files with 1 additions and 1 deletions

View File

@ -2414,7 +2414,7 @@ class FormBackOfficeStatusPage(FormStatusPage):
acting_role = Role.get(acting_role_id)
r += htmltext('<div class="value"><span>%s</span></div>') % acting_role.name
except KeyError:
r += htmltext('<div class="value"><span>%s (%s)</span></div>') % (
r += htmltext('<div class="value"><span>%s %s</span></div>') % (
acting_role_id, _('(deleted)'))
else:
r += htmltext('<div class="value"><span class="unset">%s</span></div>') % _('unset')