diff options
author | Vikas Kushwaha <dev@vikas.rocks> | 2025-02-11 17:45:19 +0530 |
---|---|---|
committer | Vikas Kushwaha <dev@vikas.rocks> | 2025-02-11 17:45:19 +0530 |
commit | d7d066cfa1cd16dd502000077696388043c4dab9 (patch) | |
tree | f43b009ae023f1aec580f0096e7712861cbab655 /cmd/web/templates/articles/partials/follow-button.tmpl | |
parent | a28b31e0f40a34674a7e14405d21bdbc5d53c2fb (diff) |
Substituted 'Article' with 'Project'
Diffstat (limited to 'cmd/web/templates/articles/partials/follow-button.tmpl')
-rw-r--r-- | cmd/web/templates/articles/partials/follow-button.tmpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/web/templates/articles/partials/follow-button.tmpl b/cmd/web/templates/articles/partials/follow-button.tmpl index 7184278..f866db2 100644 --- a/cmd/web/templates/articles/partials/follow-button.tmpl +++ b/cmd/web/templates/articles/partials/follow-button.tmpl @@ -1,5 +1,5 @@ <button class="btn btn-sm btn-outline-secondary follow-button" - hx-post="/htmx/articles/follow-user/{{ .Article.Slug }}" + hx-post="/htmx/articles/follow-user/{{ .Project.Slug }}" {{ if .IsOob }} hx-swap-oob="outerHTML:.follow-button" @@ -12,6 +12,6 @@ <i class="ion-plus-round"></i> Follow {{ end }} - {{ .Article.User.Name }} - <span class="counter">({{ .Article.User.FollowersCount }})</span> + {{ .Project.User.Name }} + <span class="counter">({{ .Project.User.FollowersCount }})</span> </button>
\ No newline at end of file |