Delete all documents in current directory

Adds a new button to the top right for deleting all documents in a
directory.
This commit is contained in:
2018-01-03 13:34:04 +00:00
parent f9b4444763
commit 9f5d8bfb93
4 changed files with 148 additions and 7 deletions

View File

@@ -1,5 +1,10 @@
<header>
{{breadcrumb-nav currentDirPath=currentDirPath}}
<nav class="actions">
{{#if currentListingContainsDocuments}}
<button class="delete-all" {{action "deleteDocuments"}}>delete all</button>
{{/if}}
</nav>
</header>
{{#if currentListing}}