mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 13:37:09 -04:00
Remove modal component
This component wasn't used anymore. We'll probably need something like that again in the future, but we'll try to use a generic component from Atmosphere.
This commit is contained in:
parent
92dd05d06d
commit
915a7e5c68
5 changed files with 0 additions and 24 deletions
|
@ -1,7 +1,3 @@
|
|||
<template name="cardModal">
|
||||
{{ > modal template='cardDetailWindow' card=this board=this.board }}
|
||||
</template>
|
||||
|
||||
<template name="cardMemberPopup">
|
||||
<div class="board-member-menu">
|
||||
<div class="mini-profile-info">
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
Template.modal.events({
|
||||
'click .window-overlay': function(event) {
|
||||
// We only want to catch the event if the user click on the .window-overlay
|
||||
// div itself, not a child (ie, not the overlay window)
|
||||
if (event.target !== event.currentTarget)
|
||||
return;
|
||||
Utils.goBoardId(this.card.board()._id);
|
||||
event.preventDefault();
|
||||
},
|
||||
'click .js-close-window': function(event) {
|
||||
Utils.goBoardId(this.card.board()._id);
|
||||
event.preventDefault();
|
||||
}
|
||||
});
|
|
@ -1,5 +0,0 @@
|
|||
.window-overlay.show
|
||||
.window
|
||||
.window-wrapper.clearfix
|
||||
a.icon-lg.fa.fa-times.dialog-close-button.js-close-window(title="{{_ 'modal-close-title'}}")
|
||||
+UI.dynamic(template=template)
|
|
@ -107,7 +107,6 @@
|
|||
"members": "Members",
|
||||
"members-title": "Add or remove members of the board from the card.",
|
||||
"menu": "Menu",
|
||||
"modal-close-title": "Close this dialog window.",
|
||||
"multi-selection": "Multi-Selection",
|
||||
"my-boards": "My Boards",
|
||||
"name": "Name",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue