mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
feat: add close button to topic thumbnail modal
This commit is contained in:
@@ -49,6 +49,10 @@ define('topicThumbs', ['api', 'bootbox', 'uploader', 'benchpress', 'translator']
|
|||||||
title: '[[modules:thumbs.modal.title]]',
|
title: '[[modules:thumbs.modal.title]]',
|
||||||
message: html,
|
message: html,
|
||||||
buttons: {
|
buttons: {
|
||||||
|
close: {
|
||||||
|
label: '[[global:close]]',
|
||||||
|
className: 'btn-default',
|
||||||
|
},
|
||||||
add: {
|
add: {
|
||||||
label: '<i class="fa fa-plus"></i> [[modules:thumbs.modal.add]]',
|
label: '<i class="fa fa-plus"></i> [[modules:thumbs.modal.add]]',
|
||||||
className: 'btn-primary',
|
className: 'btn-primary',
|
||||||
|
|||||||
Reference in New Issue
Block a user