aboutsummaryrefslogtreecommitdiff
path: root/templates/user/profile.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/user/profile.tmpl')
-rw-r--r--templates/user/profile.tmpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/user/profile.tmpl b/templates/user/profile.tmpl
index 4dced1d4..27c30db5 100644
--- a/templates/user/profile.tmpl
+++ b/templates/user/profile.tmpl
@@ -4,7 +4,7 @@
<div class="ui grid">
<div class="ui five wide column">
<div class="ui card">
- {{if eq .SignedUserName .Owner.Name}}
+ {{if eq .LoggedUserName .Owner.Name}}
<a class="image poping up" href="{{AppSubURL}}/user/settings/avatar" id="profile-avatar" data-content="{{.i18n.Tr "user.change_avatar"}}" data-variation="inverted tiny" data-position="bottom center">
<img src="{{.Owner.RelAvatarLink}}?s=290" title="{{.Owner.Name}}"/>
</a>
@@ -22,7 +22,7 @@
{{if .Owner.Location}}
<li><i class="octicon octicon-location"></i> {{.Owner.Location}}</li>
{{end}}
- {{if and .Owner.Email .IsSigned}}
+ {{if and .Owner.Email .IsLogged}}
<li>
<i class="octicon octicon-mail"></i>
<a href="mailto:{{.Owner.Email}}" rel="nofollow">{{.Owner.Email}}</a>
@@ -60,9 +60,9 @@
{{end}}
</li>
{{end}}
- {{if and .IsSigned (ne .SignedUserName .Owner.Name)}}
+ {{if and .IsLogged (ne .LoggedUserName .Owner.Name)}}
<li class="follow">
- {{if .SignedUser.IsFollowing .Owner.ID}}
+ {{if .LoggedUser.IsFollowing .Owner.ID}}
<a class="ui basic red button" href="{{.Link}}/action/unfollow?redirect_to={{$.Link}}"><i class="octicon octicon-person"></i> {{.i18n.Tr "user.unfollow"}}</a>
{{else}}
<a class="ui basic green button" href="{{.Link}}/action/follow?redirect_to={{$.Link}}"><i class="octicon octicon-person"></i> {{.i18n.Tr "user.follow"}}</a>