From 283d0f1cf4e6545a9092fcc5b1dbac62db4a8ad8 Mon Sep 17 00:00:00 2001 From: kilo Date: Tue, 31 Oct 2017 01:04:13 +0100 Subject: [PATCH] Update profile.jet.html --- templates/layouts/partials/menu/profile.jet.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/templates/layouts/partials/menu/profile.jet.html b/templates/layouts/partials/menu/profile.jet.html index 6c4b7991..98719397 100644 --- a/templates/layouts/partials/menu/profile.jet.html +++ b/templates/layouts/partials/menu/profile.jet.html @@ -18,13 +18,13 @@
- {{if UserProfile.ID > 0 }} - {{if User.ID > 0 && !User.CurrentUserIdentical(UserProfile.ID) }} - {{if !User.IsFollower(UserProfile.ID)}} - {{ T("follow")}} - {{else}} - {{ T("unfollow")}} - {{end}} + {{if UserProfile.ID > 0 && !User.CurrentUserIdentical(UserProfile.ID) }} + {{if User.ID > 0 }} + {{if !User.IsFollower(UserProfile.ID)}} + {{ T("follow")}} + {{else}} + {{ T("unfollow")}} + {{end}} {{else}} {{T("follow")}} {{end}}