mirror of
https://github.com/go-gitea/gitea
synced 2025-08-08 18:48:21 +00:00
Refactor User.Id to User.ID
This commit is contained in:
@@ -3,4 +3,4 @@
|
||||
{{template "user/meta/header" .}}
|
||||
{{template "repo/user_cards" .}}
|
||||
</div>
|
||||
{{template "base/footer" .}}
|
||||
{{template "base/footer" .}}
|
||||
|
@@ -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>
|
||||
<div class="ui divider"></div>
|
||||
|
Reference in New Issue
Block a user