Split watching
This commit is contained in:
parent
dfaeb4692c
commit
35c967653b
@ -27,13 +27,9 @@
|
|||||||
{{if and $.IssueWatch (not .Repository.IsArchived)}}
|
{{if and $.IssueWatch (not .Repository.IsArchived)}}
|
||||||
<div class="divider"></div>
|
<div class="divider"></div>
|
||||||
|
|
||||||
<div class="ui watching">
|
{{template "repo/issue/view_content/sidebar/watch" .}}
|
||||||
<span class="text"><strong>{{ctx.Locale.Tr "notification.notifications"}}</strong></span>
|
|
||||||
<div class="tw-mt-2">
|
|
||||||
{{template "repo/issue/view_content/watching" .}}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
||||||
{{if .Repository.IsTimetrackerEnabled $.Context}}
|
{{if .Repository.IsTimetrackerEnabled $.Context}}
|
||||||
{{if and .CanUseTimetracker (not .Repository.IsArchived)}}
|
{{if and .CanUseTimetracker (not .Repository.IsArchived)}}
|
||||||
<div class="divider"></div>
|
<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 New Issue
Block a user