0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-09-13 04:39:09 +02:00
gitea/templates/org/follow_unfollow.tmpl

7 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>