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:
Maxime Quandalle 2015-06-07 12:01:48 +02:00
parent 92dd05d06d
commit 915a7e5c68
5 changed files with 0 additions and 24 deletions

View file

@ -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">

View file

@ -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();
}
});

View file

@ -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)

View file

@ -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",