Move watching sub-template to sidebar folder

This commit is contained in:
Otto Richter 2024-04-28 12:56:28 +02:00
parent 4b8f0d0972
commit bc8860ce32
3 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ import (
)
const (
tplWatching base.TplName = "repo/issue/view_content/watching"
tplWatching base.TplName = "repo/issue/view_content/sidebar/watching"
)
// IssueWatch sets issue watching

View File

@ -1,6 +1,6 @@
<div class="ui watching">
<span class="text"><strong>{{ctx.Locale.Tr "notification.notifications"}}</strong></span>
<div class="tw-mt-2">
{{template "repo/issue/view_content/watching" .}}
{{template "repo/issue/view_content/sidebar/watching" .}}
</div>
</div>