summaryrefslogtreecommitdiffstats
path: root/client/components/sidebar/sidebarArchives.jade
diff options
context:
space:
mode:
Diffstat (limited to 'client/components/sidebar/sidebarArchives.jade')
-rw-r--r--client/components/sidebar/sidebarArchives.jade35
1 files changed, 24 insertions, 11 deletions
diff --git a/client/components/sidebar/sidebarArchives.jade b/client/components/sidebar/sidebarArchives.jade
index 6911c286..d2bd5d7b 100644
--- a/client/components/sidebar/sidebarArchives.jade
+++ b/client/components/sidebar/sidebarArchives.jade
@@ -1,12 +1,25 @@
template(name="archivesSidebar")
- each archivedCards
- .minicard-wrapper.js-minicard
- +minicard(this)
- p.quiet
- 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.
+ +basicTabs(tabs=tabs)
+
+ +tabContent(slug="cards")
+ each archivedCards
+ .minicard-wrapper.js-minicard
+ +minicard(this)
+ p.quiet
+ a.js-restore-card Restore
+ | -
+ a.js-delete-card Delete
+ if cardIsInArchivedList
+ p.quiet.small (warning: this card is in an archived list) <br>
+ else
+ p.no-items-message No archived cards.
+
+ +tabContent(slug="lists")
+ ul.archived-lists
+ each archivedLists
+ li.archived-lists-item
+ button.js-restore-list
+ i.fa.fa-undo
+ = title
+ else
+ li.no-items-message No archived lists.