0001-backoffice-adapt-inspect-page-to-note-when-a-functio.patch
wcs/backoffice/management.py | ||
---|---|---|
3711 | 3711 |
acting_role = get_publisher().user_class.get(acting_role_id.split(':')[1]) |
3712 | 3712 |
else: |
3713 | 3713 |
acting_role = get_publisher().role_class.get(acting_role_id) |
3714 |
acting_role_names.append(acting_role.name) |
|
3714 |
if key in (self.filled.workflow_roles or {}): |
|
3715 |
acting_role_names.append(acting_role.name) |
|
3716 |
else: |
|
3717 |
acting_role_names.append('%s (%s)' % (acting_role.name, _('default'))) |
|
3715 | 3718 |
except KeyError: |
3716 | 3719 |
acting_role_names.append('%s (%s)' % (acting_role_id, _('deleted'))) |
3717 | 3720 |
if acting_role_names: |
3718 |
- |