Use icons for all buttons

This commit is contained in:
2018-01-19 11:54:53 +00:00
parent a5a77ac668
commit 8725b3ffa8
32 changed files with 78 additions and 13 deletions

View File

@@ -65,7 +65,7 @@ export default Controller.extend({
deleteDocuments () {
const documentCount = this.get('documentCount');
const msg = `This will delete all ${documentCount} documents/files in the current directory. Are you sure?`;
const msg = `Delete all ${documentCount} documents/files in the current directory?`;
if (! window.confirm(msg)) { return false; }
const client = this.get('storage.client');

View File

@@ -41,7 +41,7 @@ export default Controller.extend({
},
deleteItem () {
if (window.confirm('Sure?')) {
if (window.confirm('Delete?')) {
this.get('storage.client')
.remove(this.get('path')).then(() => {
this.transitionToRoute('index', {