mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 13:07:17 -04:00
Remove delete option from board hamburger menu
This commit is contained in:
parent
1f17cee39b
commit
8f364281d2
4 changed files with 5 additions and 9 deletions
|
@ -16,3 +16,6 @@ template(name="archivedBoards")
|
|||
else
|
||||
li.no-items-message {{_ 'no-archived-boards'}}
|
||||
|
||||
template(name="deleteBoardPopup")
|
||||
p {{_ 'delete-board-pop'}}
|
||||
button.js-confirm.negate.full(type="submit") {{_ 'delete'}}
|
||||
|
|
|
@ -29,7 +29,7 @@ BlazeComponent.extendComponent({
|
|||
board.restore();
|
||||
Utils.goBoardId(board._id);
|
||||
},
|
||||
'click .js-delete': Popup.afterConfirm('cardDelete', function() {
|
||||
'click .js-delete-board': Popup.afterConfirm('boardDelete', function() {
|
||||
Popup.close();
|
||||
const isSandstorm = Meteor.settings && Meteor.settings.public &&
|
||||
Meteor.settings.public.sandstorm;
|
||||
|
|
|
@ -129,7 +129,6 @@ template(name="boardMenuPopup")
|
|||
ul.pop-over-list
|
||||
li: a(href="{{exportUrl}}", download="{{exportFilename}}") {{_ 'export-board'}}
|
||||
li: a.js-archive-board {{_ 'archive-board'}}
|
||||
li: a.js-delete-board {{_ 'delete-board'}}
|
||||
li: a.js-outgoing-webhooks {{_ 'outgoing-webhooks'}}
|
||||
if isSandstorm
|
||||
hr
|
||||
|
@ -238,12 +237,6 @@ template(name="archiveBoardPopup")
|
|||
p {{_ 'close-board-pop'}}
|
||||
button.js-confirm.negate.full(type="submit") {{_ 'archive'}}
|
||||
|
||||
template(name="deleteBoardPopup")
|
||||
p {{_ 'delete-board-pop'}}
|
||||
unless archived
|
||||
p {{_ 'board-delete-suggest-archive'}}
|
||||
button.js-confirm.negate.full(type="submit") {{_ 'delete'}}
|
||||
|
||||
template(name="outgoingWebhooksPopup")
|
||||
each integrations
|
||||
form.integration-form
|
||||
|
|
|
@ -175,7 +175,7 @@ template(name="editCardTitleForm")
|
|||
a.fa.fa-times-thin.js-close-inlined-form
|
||||
|
||||
template(name="editCardRequesterForm")
|
||||
input.js-edit-card-requester(type='text' autofocus value=requestedBy )
|
||||
input.js-edit-card-requester(type='text' autofocus value=requestedBy)
|
||||
.edit-controls.clearfix
|
||||
button.primary.confirm.js-submit-edit-card-requester-form(type="submit") {{_ 'save'}}
|
||||
a.fa.fa-times-thin.js-close-inlined-form
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue