1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Admin Template: user_change_log_user

Discussion in 'Resolved Bug Reports' started by digitalpoint, May 30, 2014.

  1. digitalpoint

    digitalpoint Well-Known Member

    I believe this:
    Code:
    <a href="{xen:adminlink users/edit, $log.user}">{$log.user.username}</a>
    ...is supposed to be this:
    Code:
    <a href="{xen:adminlink users/edit, $log.editUser}">{$log.editUser.username}</a>
    Right now the avatar shows for the person who edited, but the link to their account is the user you are already (the recipient of the edit).
     
  2. Mike

    Mike XenForo Developer Staff Member

    I think that would create more inconsistency than exists now -- you have a username and an avatar in the exact same place in two templates that actually reflect opposite sides of the same action (editor vs editee).

    So the change here is actually to make this work more like the global change log as that makes more sense: avatar is always the editee, username is always the editee, and if someone else edits there's a separate mention of that.
     
    digitalpoint likes this.

Share This Page