From 49d76639295a89bac8a656360782f0c3a1d2707c Mon Sep 17 00:00:00 2001 From: 6543 Date: Sun, 21 Jan 2024 14:42:35 +0100 Subject: Revert adding htmx until we finaly decide to add it (#28879) --- templates/repo/issue/view_content/sidebar.tmpl | 14 +++++++++++++- templates/repo/issue/view_content/watching.tmpl | 13 ------------- 2 files changed, 13 insertions(+), 14 deletions(-) delete mode 100644 templates/repo/issue/view_content/watching.tmpl (limited to 'templates/repo') diff --git a/templates/repo/issue/view_content/sidebar.tmpl b/templates/repo/issue/view_content/sidebar.tmpl index 6c13eef023..4334e4bcbd 100644 --- a/templates/repo/issue/view_content/sidebar.tmpl +++ b/templates/repo/issue/view_content/sidebar.tmpl @@ -270,7 +270,19 @@
{{ctx.Locale.Tr "notification.notifications"}}
- {{template "repo/issue/view_content/watching" .}} +
+ + {{$.CsrfTokenHtml}} + +
{{end}} diff --git a/templates/repo/issue/view_content/watching.tmpl b/templates/repo/issue/view_content/watching.tmpl deleted file mode 100644 index 06b9d9af33..0000000000 --- a/templates/repo/issue/view_content/watching.tmpl +++ /dev/null @@ -1,13 +0,0 @@ -
- - {{$.CsrfTokenHtml}} - -
-- cgit v1.2.3