Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion templates/admin/notice.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
<i class="close icon"></i>
<div class="header">{{$.i18n.Tr "admin.notices.view_detail_header"}}</div>
<div class="content">
<p></p>
<pre></pre>
</div>
</div>
{{template "base/footer" .}}
2 changes: 1 addition & 1 deletion web_src/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
});
Expand Down