@@ -65,6 +65,9 @@ h3, h4, h5, h6
a
color: #aa8f09
+.small
+ font-size: 0.8em
+
color: inherit
cursor: pointer
@@ -6,5 +6,7 @@ template(name="archivesSidebar")
a.js-restore Restore
| -
a.js-delete Delete
+ if cardIsInArchivedList
+ p.quiet.small (warning: this card is in an archived list) <br>
else
p.no-items-message No archived cards.
@@ -2,10 +2,15 @@ BlazeComponent.extendComponent({
template: function() {
return 'archivesSidebar';
},
archivedCards: function() {
return Cards.find({archived: true});
+ cardIsInArchivedList: function() {
+ return this.currentData().list().archived;
+ },
onRendered: function() {
//XXX We should support dragging a card from the sidebar to the board