diff --git a/rhodecode/templates/admin/admin_log.html b/rhodecode/templates/admin/admin_log.html --- a/rhodecode/templates/admin/admin_log.html +++ b/rhodecode/templates/admin/admin_log.html @@ -11,7 +11,13 @@ %for cnt,l in enumerate(c.users_log): - ${h.link_to(l.user.username,h.url('edit_user', id=l.user.user_id))} + + %if l.user is not None: + ${h.link_to(l.user.username,h.url('edit_user', id=l.user.user_id))} + %else: + ${l.username} + %endif + ${h.action_parser(l)[0]()}
${h.literal(h.action_parser(l)[1]())}