diff --git a/templates/admin/notice.tmpl b/templates/admin/notice.tmpl index 8e56713ec..7d1720bec 100644 --- a/templates/admin/notice.tmpl +++ b/templates/admin/notice.tmpl @@ -77,7 +77,7 @@
{{$.i18n.Tr "admin.notices.view_detail_header"}}
-

+

 	
{{template "base/footer" .}} diff --git a/web_src/js/index.js b/web_src/js/index.js index 639f36fab..6ac4a1de5 100644 --- a/web_src/js/index.js +++ b/web_src/js/index.js @@ -2019,7 +2019,7 @@ function initAdmin() { // Attach view detail modals $('.view-detail').on('click', function () { - $detailModal.find('.content p').text($(this).data('content')); + $detailModal.find('.content pre').text($(this).data('content')); $detailModal.modal('show'); return false; });