diff options
author | Kerwin Bryant <kerwin612@qq.com> | 2024-11-22 12:33:31 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-22 04:33:31 +0000 |
commit | 81ac8d914cf5fdfaad3c206223ad0ace1e8c1dcd (patch) | |
tree | 39e4fd08e362bf5d8162700b0a80df584bef4e65 /templates/repo | |
parent | a3881ffa3d90f3f017024f701ca8ef420d492224 (diff) | |
download | gitea-81ac8d914cf5fdfaad3c206223ad0ace1e8c1dcd.tar.gz gitea-81ac8d914cf5fdfaad3c206223ad0ace1e8c1dcd.zip |
Style unification for the issue_management area (#32605)
Style unification for the issue_management area (consistent across the
layout
before:



after:

---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'templates/repo')
-rw-r--r-- | templates/repo/issue/sidebar/issue_management.tmpl | 4 | ||||
-rw-r--r-- | templates/repo/issue/sidebar/milestone_list.tmpl | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/templates/repo/issue/sidebar/issue_management.tmpl b/templates/repo/issue/sidebar/issue_management.tmpl index 3342d99212..76edf16e03 100644 --- a/templates/repo/issue/sidebar/issue_management.tmpl +++ b/templates/repo/issue/sidebar/issue_management.tmpl @@ -6,10 +6,10 @@ {{$.CsrfTokenHtml}} <button class="fluid ui button {{if not $.NewPinAllowed}}disabled{{end}}"> {{if not .Issue.IsPinned}} - {{svg "octicon-pin" 16 "tw-mr-2"}} + {{svg "octicon-pin"}} {{ctx.Locale.Tr "pin"}} {{else}} - {{svg "octicon-pin-slash" 16 "tw-mr-2"}} + {{svg "octicon-pin-slash"}} {{ctx.Locale.Tr "unpin"}} {{end}} </button> diff --git a/templates/repo/issue/sidebar/milestone_list.tmpl b/templates/repo/issue/sidebar/milestone_list.tmpl index 4a7f3f8ad8..2a7b6f6009 100644 --- a/templates/repo/issue/sidebar/milestone_list.tmpl +++ b/templates/repo/issue/sidebar/milestone_list.tmpl @@ -39,7 +39,7 @@ {{end}} {{end}} </div> - {{end}} + {{end}} </div> </div> |