<xf:css src="member_tooltip.less" />
<div class="tooltip-content-inner">
<div class="memberTooltip">
<div class="memberTooltip-header">
<span class="memberTooltip-avatar">
<xf:avatar user="{$user}" size="l" notooltip="true" />
</span>
<div class="memberTooltip-headerInfo">
<xf:if contentcheck="true">
<div class="memberTooltip-headerAction">
<xf:button class="button--link button--small menuTrigger"
data-xf-click="menu"
aria-label="{{ phrase('more_options') }}"
aria-expanded="false"
aria-haspopup="true">
<i class="fa fa-cog" aria-hidden="true"></i>
</xf:button>
<div class="menu" data-menu="menu" aria-hidden="true">
<div class="menu-content">
<h3 class="menu-header">{{ phrase('moderator_tools') }}</h3>
<xf:contentcheck>
<xf:macro template="member_macros" name="moderator_menu_actions"
arg-user="{$user}"
arg-context="tooltip" />
</xf:contentcheck>
</div>
</div>
</div>
</xf:if>
<h4 class="memberTooltip-name"><xf:username user="$user" rich="true" notooltip="true" /></h4>
<xf:if contentcheck="true">
<div class="memberTooltip-banners">
<xf:contentcheck><xf:userbanners user="$user" /></xf:contentcheck>
</div>
</xf:if>
<xf:if contentcheck="true">
<div class="memberTooltip-blurb">
<xf:contentcheck>
<xf:userblurb user="$user" tag="div" />
</xf:contentcheck>
</div>
</xf:if>
<xf:if contentcheck="true">
<dl class="pairs pairs--inline memberTooltip-blurb">
<dt>{{ phrase('last_seen') }}</dt>
<dd dir="auto">
<xf:contentcheck><xf:useractivity user="$user" class="pairs--plainLabel" /></xf:contentcheck>
</dd>
</dl>
</xf:if>
<div class="memberTooltip-info">
<div class="memberTooltip-stats">
<div class="pairJustifier">
<xf:macro template="member_macros" name="member_stat_pairs"
arg-user="{$user}"
arg-context="tooltip" />
</div>
</div>
</div>
<xf:if contentcheck="true">
<hr class="memberTooltip-separator" />
<div class="memberTooltip-actions">
<xf:contentcheck>
<xf:macro template="member_macros" name="member_action_buttons"
arg-user="{$user}"
arg-context="tooltip" />
</xf:contentcheck>
</div>
</xf:if>
</div>
</div>
</div>
</div>