summaryrefslogtreecommitdiffstats
path: root/client/components/sidebar/sidebarArchives.jade
blob: 2e42de6a4f91af7b9cf422e7529d9d9f4cb66fa3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
template(name="archivesSidebar")
  +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)
    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.