mirror of https://github.com/go-gitea/gitea.git
Fix missing template for follow button in organization (#29215)
Leftover from https://github.com/go-gitea/gitea/pull/29005 # Before  # After  --------- Signed-off-by: Yarden Shoham <git@yardenshoham.com>pull/29203/head^2
parent
b96fbb567c
commit
aa6f88638f
@ -0,0 +1,7 @@
|
||||
<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>
|
||||
Loading…
Reference in New Issue