mirror of
https://codeberg.org/forgejo/forgejo
synced 2025-09-17 01:12:52 +02:00
Disable the 'clear milestone' button in the issue sidebar when no milestone is set and update this state after a milestone is set or cleared. Fixes #7949 Co-authored-by: Gusted <postmaster@gusted.xyz> Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8266 Reviewed-by: Gusted <gusted@noreply.codeberg.org> Co-authored-by: iamyaash <iamyaash@outlook.com> Co-committed-by: iamyaash <iamyaash@outlook.com>
5 lines
236 B
Go HTML Template
5 lines
236 B
Go HTML Template
{{template "repo/issue/milestone/clear_milestone" dict "." . "UseHTMX" true}}
|
|
<div id="insert-timeline" hx-swap-oob="beforebegin">
|
|
{{template "repo/issue/view_content/comments" .}}
|
|
</div>
|
|
{{template "repo/issue/milestone/selected" .}}
|