mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-14 14:06:15 +01:00
8 lines
247 B
Go HTML Template
8 lines
247 B
Go HTML Template
|
<button class="ui basic button gt-mr-0" hx-post="{{.Org.HomeLink}}?action={{if $.IsFollowing}}unfollow{{else}}follow{{end}}">
|
||
|
{{if $.IsFollowing}}
|
||
|
{{ctx.Locale.Tr "user.unfollow"}}
|
||
|
{{else}}
|
||
|
{{ctx.Locale.Tr "user.follow"}}
|
||
|
{{end}}
|
||
|
</button>
|