From b3620f1db027971196e6094b5ceeedb76f4db50f Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Fri, 3 May 2013 10:56:51 +0100 Subject: [PATCH] don't show stats popover for main user --- views/app/avatar.html | 6 +++--- views/app/header.html | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/views/app/avatar.html b/views/app/avatar.html index 50efce61b2..a823400e99 100644 --- a/views/app/avatar.html +++ b/views/app/avatar.html @@ -11,9 +11,9 @@ data-name="{username(@profile.auth, @profile.profile.name)}" data-level="{@profile.stats.lvl}" data-checkpet="{#if @profile.items.pet}hasPet{/}" - data-checkuser="{{#if equal(@profile.id, _user.id)}}isUser{{/}}" + data-checkuser="{{#if @main}}isUser{{/}}" data-uid="{{@profile.id}}" x-bind="click:profileChangeActive" - rel="popover" data-placement="bottom" data-trigger="hover" data-html="true" data-content=" + rel="popover" data-placement="bottom" data-trigger="hover" data-html="true" data-content="{{#unless @main}}
@@ -25,7 +25,7 @@
GP: {floor(@profile.stats.gp)}
{count(@profile.items.pets)} / 90 Pets Found
- "> + {{/}}">
{#with @profile.preferences as :p} diff --git a/views/app/header.html b/views/app/header.html index 45a965dccc..43c9834b3e 100644 --- a/views/app/header.html +++ b/views/app/header.html @@ -3,7 +3,7 @@