mirror of
https://github.com/go-gitea/gitea
synced 2024-11-05 16:27:09 +01:00
aa6f88638f
Leftover from https://github.com/go-gitea/gitea/pull/29005 # Before ![before](https://github.com/go-gitea/gitea/assets/20454870/24c74278-ccac-4dc6-bf26-713e90c07239) # After ![after](https://github.com/go-gitea/gitea/assets/20454870/f91d503b-87d4-4c17-a56c-9c0a81fd9082) --------- Signed-off-by: Yarden Shoham <git@yardenshoham.com>
8 lines
247 B
Handlebars
8 lines
247 B
Handlebars
<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>
|