diff options
author | Vikas Kushwaha <dev@vikas.rocks> | 2025-02-11 17:50:21 +0530 |
---|---|---|
committer | Vikas Kushwaha <dev@vikas.rocks> | 2025-02-11 17:50:21 +0530 |
commit | e44397dcbb9454f89b8263738d5ccf1e20a12074 (patch) | |
tree | 1c2b5816c597ddd10c7afb68ed2af7cc2c26d56d /cmd/web/templates/articles/partials/follow-button.tmpl | |
parent | c720f1f85e5ec7c93604462b7a70e1f84a1ce244 (diff) |
Diffstat (limited to 'cmd/web/templates/articles/partials/follow-button.tmpl')
-rw-r--r-- | cmd/web/templates/articles/partials/follow-button.tmpl | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/cmd/web/templates/articles/partials/follow-button.tmpl b/cmd/web/templates/articles/partials/follow-button.tmpl deleted file mode 100644 index 73cd023..0000000 --- a/cmd/web/templates/articles/partials/follow-button.tmpl +++ /dev/null @@ -1,17 +0,0 @@ -<button class="btn btn-sm btn-outline-secondary follow-button" - hx-post="/htmx/projects/follow-user/{{ .Project.Slug }}" - - {{ if .IsOob }} - hx-swap-oob="outerHTML:.follow-button" - {{ end }} -> - {{ if .IsFollowed }} - <i class="ion-minus-round"></i> - Unfollow - {{ else }} - <i class="ion-plus-round"></i> - Follow - {{ end }} - {{ .Project.User.Name }} - <span class="counter">({{ .Project.User.FollowersCount }})</span> -</button>
\ No newline at end of file |