0001-backoffice-protect-sidebar-against-removed-users-927.patch
wcs/backoffice/management.py | ||
---|---|---|
1634 | 1634 |
(extra_context.get('summary_url'))) |
1635 | 1635 |
r += htmltext('</div>') |
1636 | 1636 | |
1637 |
if formdata.user_id: |
|
1637 |
if formdata.user_id and formdata.get_user():
|
|
1638 | 1638 |
r += htmltext('<div class="extra-context">') |
1639 | 1639 |
r += htmltext('<h3>%s</h3>') % _('Associated User') |
1640 | 1640 |
r += htmltext('<p>%s</p>') % formdata.get_user().display_name |
1641 |
- |