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