2023-05-29 06:44:03 -04:00
|
|
|
<div class="issue-content-right ui segment">
|
2024-04-24 14:41:35 -04:00
|
|
|
{{template "repo/issue/view_content/sidebar/branch_selector_field" .}}
|
2023-05-29 06:44:03 -04:00
|
|
|
{{if .Issue.IsPull}}
|
2024-04-24 15:06:22 -04:00
|
|
|
{{template "repo/issue/view_content/sidebar/pull_review" .}}
|
|
|
|
{{template "repo/issue/view_content/sidebar/pull_wip" .}}
|
2023-06-29 08:24:22 -04:00
|
|
|
<div class="divider"></div>
|
2023-05-29 06:44:03 -04:00
|
|
|
{{end}}
|
|
|
|
|
|
|
|
{{template "repo/issue/labels/labels_selector_field" .}}
|
|
|
|
{{template "repo/issue/labels/labels_sidebar" dict "root" $}}
|
|
|
|
|
2023-06-29 08:24:22 -04:00
|
|
|
<div class="divider"></div>
|
2020-04-06 12:33:34 -04:00
|
|
|
|
2024-04-24 16:54:55 -04:00
|
|
|
{{template "repo/issue/view_content/sidebar/milestones" .}}
|
2024-03-07 23:33:52 -05:00
|
|
|
<div class="divider"></div>
|
2017-03-17 01:57:43 -04:00
|
|
|
|
2024-04-24 16:54:55 -04:00
|
|
|
{{template "repo/issue/view_content/sidebar/projects" .}}
|
2023-06-29 08:24:22 -04:00
|
|
|
<div class="divider"></div>
|
2020-11-29 01:22:04 -05:00
|
|
|
|
2024-04-24 16:58:03 -04:00
|
|
|
{{template "repo/issue/view_content/sidebar/assignees" .}}
|
2023-06-29 08:24:22 -04:00
|
|
|
<div class="divider"></div>
|
2017-03-17 01:57:43 -04:00
|
|
|
|
2023-05-29 06:44:03 -04:00
|
|
|
{{if .Participants}}
|
2024-04-24 17:01:03 -04:00
|
|
|
{{template "repo/issue/view_content/sidebar/participants" .}}
|
2023-05-29 06:44:03 -04:00
|
|
|
{{end}}
|
2017-03-17 01:57:43 -04:00
|
|
|
|
2023-05-29 06:44:03 -04:00
|
|
|
{{if and $.IssueWatch (not .Repository.IsArchived)}}
|
2023-06-29 08:24:22 -04:00
|
|
|
<div class="divider"></div>
|
2017-03-17 01:57:43 -04:00
|
|
|
|
2024-04-24 17:03:47 -04:00
|
|
|
{{template "repo/issue/view_content/sidebar/watch" .}}
|
2023-05-29 06:44:03 -04:00
|
|
|
{{end}}
|
2024-04-24 17:03:47 -04:00
|
|
|
|
2023-05-29 06:44:03 -04:00
|
|
|
{{if .Repository.IsTimetrackerEnabled $.Context}}
|
2024-04-25 07:24:26 -04:00
|
|
|
{{template "repo/issue/view_content/sidebar/timetracking" .}}
|
2023-05-29 06:44:03 -04:00
|
|
|
{{end}}
|
|
|
|
|
2023-06-29 08:24:22 -04:00
|
|
|
<div class="divider"></div>
|
2024-04-25 07:34:48 -04:00
|
|
|
{{template "repo/issue/view_content/sidebar/due_deadline" .}}
|
2023-05-29 06:44:03 -04:00
|
|
|
|
|
|
|
{{if .Repository.IsDependenciesEnabled $.Context}}
|
2023-06-29 08:24:22 -04:00
|
|
|
<div class="divider"></div>
|
2023-05-29 06:44:03 -04:00
|
|
|
|
2024-04-25 07:37:43 -04:00
|
|
|
{{template "repo/issue/view_content/sidebar/dependencies" .}}
|
2023-05-29 06:44:03 -04:00
|
|
|
{{end}}
|
|
|
|
|
2023-06-29 08:24:22 -04:00
|
|
|
<div class="divider"></div>
|
2024-04-25 08:43:51 -04:00
|
|
|
{{template "repo/issue/view_content/sidebar/reference" .}}
|
2021-02-28 09:05:55 -05:00
|
|
|
|
2023-05-29 06:44:03 -04:00
|
|
|
{{if and .IsRepoAdmin (not .Repository.IsArchived)}}
|
2023-06-29 08:24:22 -04:00
|
|
|
<div class="divider"></div>
|
2022-05-05 14:58:37 -04:00
|
|
|
|
2024-04-25 08:43:51 -04:00
|
|
|
{{template "repo/issue/view_content/sidebar/actions" .}}
|
2023-05-29 06:44:03 -04:00
|
|
|
{{end}}
|
2022-04-28 11:45:33 -04:00
|
|
|
|
2023-05-29 06:44:03 -04:00
|
|
|
{{if and .Issue.IsPull .IsIssuePoster (not .Issue.IsClosed) .Issue.PullRequest.HeadRepo}}
|
|
|
|
{{if and (not (eq .Issue.PullRequest.HeadRepo.FullName .Issue.PullRequest.BaseRepo.FullName)) .CanWriteToHeadRepo}}
|
2023-06-29 08:24:22 -04:00
|
|
|
<div class="divider"></div>
|
2023-05-29 06:44:03 -04:00
|
|
|
<div class="inline field">
|
2024-03-31 12:06:06 -04:00
|
|
|
<div class="ui checkbox loading-icon-2px" id="allow-edits-from-maintainers"
|
2023-05-29 06:44:03 -04:00
|
|
|
data-url="{{.Issue.Link}}"
|
2023-09-25 04:56:50 -04:00
|
|
|
data-tooltip-content="{{ctx.Locale.Tr "repo.pulls.allow_edits_from_maintainers_desc"}}"
|
|
|
|
data-prompt-error="{{ctx.Locale.Tr "repo.pulls.allow_edits_from_maintainers_err"}}"
|
2023-05-29 06:44:03 -04:00
|
|
|
>
|
2023-09-25 04:56:50 -04:00
|
|
|
<label><strong>{{ctx.Locale.Tr "repo.pulls.allow_edits_from_maintainers"}}</strong></label>
|
2023-05-29 06:44:03 -04:00
|
|
|
<input type="checkbox" {{if .Issue.PullRequest.AllowMaintainerEdit}}checked{{end}}>
|
2022-04-28 11:45:33 -04:00
|
|
|
</div>
|
2023-05-29 06:44:03 -04:00
|
|
|
</div>
|
2022-04-28 11:45:33 -04:00
|
|
|
{{end}}
|
2023-05-29 06:44:03 -04:00
|
|
|
{{end}}
|
2021-02-28 09:05:55 -05:00
|
|
|
</div>
|