init
This commit is contained in:
7
templates/org/follow_unfollow.tmpl
Normal file
7
templates/org/follow_unfollow.tmpl
Normal file
@ -0,0 +1,7 @@
|
||||
<button class="ui basic button tw-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>
|
Reference in New Issue
Block a user