From c720f1f85e5ec7c93604462b7a70e1f84a1ce244 Mon Sep 17 00:00:00 2001 From: Vikas Kushwaha Date: Tue, 11 Feb 2025 17:49:16 +0530 Subject: Substituted 'article' with 'project' --- cmd/web/templates/articles/partials/comments-form.tmpl | 6 +++--- cmd/web/templates/articles/partials/comments-wrapper.tmpl | 8 ++++---- cmd/web/templates/articles/partials/detail-post-meta.tmpl | 8 ++++---- cmd/web/templates/articles/partials/favorite-button.tmpl | 2 +- cmd/web/templates/articles/partials/follow-button.tmpl | 2 +- 5 files changed, 13 insertions(+), 13 deletions(-) (limited to 'cmd/web/templates/articles/partials') diff --git a/cmd/web/templates/articles/partials/comments-form.tmpl b/cmd/web/templates/articles/partials/comments-form.tmpl index 3fe5064..c88cac6 100644 --- a/cmd/web/templates/articles/partials/comments-form.tmpl +++ b/cmd/web/templates/articles/partials/comments-form.tmpl @@ -1,6 +1,6 @@ -
+
{{ range $comment := .Project.Comments }} - {{ template "articles/partials/comments-card" Dict "Comment" $comment }} + {{ template "projects/partials/comments-card" Dict "Comment" $comment }} {{ end }}
{{ if .IsAuthenticated }}
- {{ template "articles/partials/comments-form" . }} + {{ template "projects/partials/comments-form" . }} {{ else }}
sign up - to add comments on this article. + to add comments on this project.
{{ end }} \ No newline at end of file diff --git a/cmd/web/templates/articles/partials/detail-post-meta.tmpl b/cmd/web/templates/articles/partials/detail-post-meta.tmpl index 313f818..eb957b4 100644 --- a/cmd/web/templates/articles/partials/detail-post-meta.tmpl +++ b/cmd/web/templates/articles/partials/detail-post-meta.tmpl @@ -24,9 +24,9 @@