diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2024-12-25 00:51:13 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-25 00:51:13 +0800 |
commit | b7260400f80073648d3491ce667de967668d72a8 (patch) | |
tree | 9a3c74e9837f7925e449442d0f9cec2528c3b5dc /templates/repo/issue/sidebar/milestone_list.tmpl | |
parent | 2a828e2798d5f77e768e1199d88a00996bd3e45a (diff) | |
download | gitea-b7260400f80073648d3491ce667de967668d72a8.tar.gz gitea-b7260400f80073648d3491ce667de967668d72a8.zip |
Refactor tmpl and blob_excerpt (#32967)
1. do not use `{{/* */}}` to remove spaces, use `{{- -}}`
2. fix "blob_excerpt" endpoint, remove the legacy fragile code: have
tested commit diff and wiki diff
Diffstat (limited to 'templates/repo/issue/sidebar/milestone_list.tmpl')
-rw-r--r-- | templates/repo/issue/sidebar/milestone_list.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/sidebar/milestone_list.tmpl b/templates/repo/issue/sidebar/milestone_list.tmpl index 0e926f7b03..8b3e5b0eee 100644 --- a/templates/repo/issue/sidebar/milestone_list.tmpl +++ b/templates/repo/issue/sidebar/milestone_list.tmpl @@ -6,7 +6,7 @@ {{if $pageMeta.Issue}}data-update-url="{{$pageMeta.RepoLink}}/issues/milestone?issue_ids={{$pageMeta.Issue.ID}}"{{end}} > <input class="combo-value" name="milestone_id" type="hidden" value="{{$data.SelectedMilestoneID}}"> - <div class="ui dropdown {{if not $pageMeta.CanModifyIssueOrPull}}disabled{{end}} "> + <div class="ui dropdown {{if not $pageMeta.CanModifyIssueOrPull}}disabled{{end}}"> <a class="text muted"> <strong>{{ctx.Locale.Tr "repo.issues.new.milestone"}}</strong> {{if $pageMeta.CanModifyIssueOrPull}}{{svg "octicon-gear"}}{{end}} </a> |