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