From d878234f77a78bf9232a2322c2061da4fbe12ecc Mon Sep 17 00:00:00 2001 From: Ambrose Chua Date: Mon, 12 Mar 2018 00:35:50 +0900 Subject: [PATCH] Enable cmdable --- views/list.handlebars | 2 +- views/partials/toolbar.handlebars | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/views/list.handlebars b/views/list.handlebars index 7e4aa90..9ecd6a9 100644 --- a/views/list.handlebars +++ b/views/list.handlebars @@ -36,7 +36,7 @@ -{{> toolbar shellable=shellable}} +{{> toolbar shellable=shellable cmdable=cmdable}} {{> dialogue-upload}} {{> dialogue-mkdir}} diff --git a/views/partials/toolbar.handlebars b/views/partials/toolbar.handlebars index f9e8d5f..b0fc563 100644 --- a/views/partials/toolbar.handlebars +++ b/views/partials/toolbar.handlebars @@ -8,11 +8,13 @@ New folder - {{#if shellable}} - {{!-- + {{#if cmdable}} + Run command - --}} + + {{/if}} + {{#if shellable}} Open shell