From e44397dcbb9454f89b8263738d5ccf1e20a12074 Mon Sep 17 00:00:00 2001 From: Vikas Kushwaha Date: Tue, 11 Feb 2025 17:50:21 +0530 Subject: Substituted 'article' with 'project' in filenames --- .../templates/articles/partials/comments-card.tmpl | 25 ------------- .../templates/articles/partials/comments-form.tmpl | 18 ---------- .../articles/partials/comments-wrapper.tmpl | 26 -------------- .../articles/partials/detail-post-meta.tmpl | 42 ---------------------- .../articles/partials/favorite-button.tmpl | 15 -------- .../templates/articles/partials/follow-button.tmpl | 17 --------- 6 files changed, 143 deletions(-) delete mode 100644 cmd/web/templates/articles/partials/comments-card.tmpl delete mode 100644 cmd/web/templates/articles/partials/comments-form.tmpl delete mode 100644 cmd/web/templates/articles/partials/comments-wrapper.tmpl delete mode 100644 cmd/web/templates/articles/partials/detail-post-meta.tmpl delete mode 100644 cmd/web/templates/articles/partials/favorite-button.tmpl delete mode 100644 cmd/web/templates/articles/partials/follow-button.tmpl (limited to 'cmd/web/templates/articles/partials') diff --git a/cmd/web/templates/articles/partials/comments-card.tmpl b/cmd/web/templates/articles/partials/comments-card.tmpl deleted file mode 100644 index 1e6062a..0000000 --- a/cmd/web/templates/articles/partials/comments-card.tmpl +++ /dev/null @@ -1,25 +0,0 @@ -
-
-

{{ .Comment.Body }}

-
- -
\ No newline at end of file diff --git a/cmd/web/templates/articles/partials/comments-form.tmpl b/cmd/web/templates/articles/partials/comments-form.tmpl deleted file mode 100644 index c88cac6..0000000 --- a/cmd/web/templates/articles/partials/comments-form.tmpl +++ /dev/null @@ -1,18 +0,0 @@ -
-
- -
- -
\ No newline at end of file diff --git a/cmd/web/templates/articles/partials/comments-wrapper.tmpl b/cmd/web/templates/articles/partials/comments-wrapper.tmpl deleted file mode 100644 index 2f401de..0000000 --- a/cmd/web/templates/articles/partials/comments-wrapper.tmpl +++ /dev/null @@ -1,26 +0,0 @@ -
- {{ range $comment := .Project.Comments }} - {{ template "projects/partials/comments-card" Dict "Comment" $comment }} - {{ end }} -
- -{{ if .IsAuthenticated }} -
- - {{ template "projects/partials/comments-form" . }} -{{ else }} -
- - Sign in - - or - - sign up - - 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 deleted file mode 100644 index eb957b4..0000000 --- a/cmd/web/templates/articles/partials/detail-post-meta.tmpl +++ /dev/null @@ -1,42 +0,0 @@ -
- -
- - {{ .Project.User.Name }} - - {{ .Project.GetFormattedCreatedAt }} -
- - {{ if .IsSelf }} - - - - - - {{ else }} - - {{ template "projects/partials/follow-button" . }} - - {{ template "projects/partials/favorite-button" . }} - - {{ end }} -
\ No newline at end of file diff --git a/cmd/web/templates/articles/partials/favorite-button.tmpl b/cmd/web/templates/articles/partials/favorite-button.tmpl deleted file mode 100644 index f72a320..0000000 --- a/cmd/web/templates/articles/partials/favorite-button.tmpl +++ /dev/null @@ -1,15 +0,0 @@ - \ No newline at end of file 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 @@ - \ No newline at end of file -- cgit v1.2.3