mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-18 15:21:04 +00:00
Split watching
This commit is contained in:
parent
dfaeb4692c
commit
35c967653b
2 changed files with 8 additions and 6 deletions
|
@ -27,13 +27,9 @@
|
|||
{{if and $.IssueWatch (not .Repository.IsArchived)}}
|
||||
<div class="divider"></div>
|
||||
|
||||
<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" .}}
|
||||
</div>
|
||||
</div>
|
||||
{{template "repo/issue/view_content/sidebar/watch" .}}
|
||||
{{end}}
|
||||
|
||||
{{if .Repository.IsTimetrackerEnabled $.Context}}
|
||||
{{if and .CanUseTimetracker (not .Repository.IsArchived)}}
|
||||
<div class="divider"></div>
|
||||
|
|
6
templates/repo/issue/view_content/sidebar/watch.tmpl
Normal file
6
templates/repo/issue/view_content/sidebar/watch.tmpl
Normal file
|
@ -0,0 +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" .}}
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in a new issue