diff options
Diffstat (limited to 'templates/user/meta/header.tmpl')
-rw-r--r-- | templates/user/meta/header.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/user/meta/header.tmpl b/templates/user/meta/header.tmpl index 366d1e0b5a..4982c7506a 100644 --- a/templates/user/meta/header.tmpl +++ b/templates/user/meta/header.tmpl @@ -11,7 +11,7 @@ {{if or $.PageIsFollowers $.PageIsFollowing}} {{if and $.IsSigned (ne $.SignedUserName .Name)}} <div class="follow"> - {{if $.SignedUser.IsFollowing .Id}} + {{if $.SignedUser.IsFollowing .ID}} <a class="ui small basic red button" href="{{.HomeLink}}/action/unfollow?redirect_to={{$.Link}}"><i class="octicon octicon-person"></i> {{$.i18n.Tr "user.unfollow"}}</a> {{else}} <a class="ui small basic green button" href="{{.HomeLink}}/action/follow?redirect_to={{$.Link}}"><i class="octicon octicon-person"></i> {{$.i18n.Tr "user.follow"}}</a> @@ -22,4 +22,4 @@ </div> </div> {{end}} -<div class="ui divider"></div>
\ No newline at end of file +<div class="ui divider"></div> |