diff options
author | silverwind <me@silverwind.io> | 2024-04-13 09:46:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-13 15:46:02 +0800 |
commit | 8fd8978b4934865c2b041216e84e923ad574a4c7 (patch) | |
tree | 50ca46fbae3ad5dfb577920662f3fb8d1a0efbcf /templates/admin | |
parent | b4d86912ef18c58e973ee10c4a3bc621e9bd6c52 (diff) | |
download | gitea-8fd8978b4934865c2b041216e84e923ad574a4c7.tar.gz gitea-8fd8978b4934865c2b041216e84e923ad574a4c7.zip |
Fix admin notice view-detail (#30450)
Fix https://github.com/go-gitea/gitea/issues/30434, regression from
https://github.com/go-gitea/gitea/pull/30115.
I also removed the date insertion into the modal which was also broken
since that date was switched to `absolute-date` because I see no real
purpose to putting that date into the modal.
Result:
<img width="1038" alt="image"
src="https://github.com/go-gitea/gitea/assets/115237/aa2eb8b4-73dc-4d98-9b80-3f276f89d9e5">
Diffstat (limited to 'templates/admin')
-rw-r--r-- | templates/admin/notice.tmpl | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/templates/admin/notice.tmpl b/templates/admin/notice.tmpl index 5ea003e5ec..33d8a2f963 100644 --- a/templates/admin/notice.tmpl +++ b/templates/admin/notice.tmpl @@ -62,10 +62,7 @@ <div class="ui modal admin" id="detail-modal"> <div class="header">{{ctx.Locale.Tr "admin.notices.view_detail_header"}}</div> - <div class="content"> - <div class="sub header"></div> - <pre></pre> - </div> + <div class="content"><pre></pre></div> </div> {{template "admin/layout_footer" .}} |