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