From 4b8f0d09726a49439c74efefe70045e419ce9130 Mon Sep 17 00:00:00 2001 From: Otto Richter Date: Sun, 28 Apr 2024 12:48:17 +0200 Subject: [PATCH] Revert "Unify watching template" This reverts commit 47ef51d51ee46976171bab80314baa3798e45d13. --- .../repo/issue/view_content/sidebar/watch.tmpl | 13 +------------ templates/repo/issue/view_content/watching.tmpl | 12 ++++++++++++ 2 files changed, 13 insertions(+), 12 deletions(-) create mode 100644 templates/repo/issue/view_content/watching.tmpl diff --git a/templates/repo/issue/view_content/sidebar/watch.tmpl b/templates/repo/issue/view_content/sidebar/watch.tmpl index 6c74b140c..852738a70 100644 --- a/templates/repo/issue/view_content/sidebar/watch.tmpl +++ b/templates/repo/issue/view_content/sidebar/watch.tmpl @@ -1,17 +1,6 @@
{{ctx.Locale.Tr "notification.notifications"}}
-
- - -
+ {{template "repo/issue/view_content/watching" .}}
diff --git a/templates/repo/issue/view_content/watching.tmpl b/templates/repo/issue/view_content/watching.tmpl new file mode 100644 index 000000000..05936d090 --- /dev/null +++ b/templates/repo/issue/view_content/watching.tmpl @@ -0,0 +1,12 @@ +
+ + +