From 7763ad50ef2310b4ee5e42d9c3bbb5b5354a9991 Mon Sep 17 00:00:00 2001 From: Joshua Ogle Date: Sat, 3 Nov 2018 10:26:48 -0600 Subject: [PATCH] Remove old BlockEmpty component --- ui/app/components/block-empty.js | 2 -- ui/app/templates/components/block-empty.hbs | 11 ----------- ui/app/templates/partials/secret-form-show.hbs | 12 ++++++------ 3 files changed, 6 insertions(+), 19 deletions(-) delete mode 100644 ui/app/components/block-empty.js delete mode 100644 ui/app/templates/components/block-empty.hbs diff --git a/ui/app/components/block-empty.js b/ui/app/components/block-empty.js deleted file mode 100644 index 96167992d..000000000 --- a/ui/app/components/block-empty.js +++ /dev/null @@ -1,2 +0,0 @@ -import OuterHTML from './outer-html'; -export default OuterHTML.extend(); diff --git a/ui/app/templates/components/block-empty.hbs b/ui/app/templates/components/block-empty.hbs deleted file mode 100644 index d0f7e402f..000000000 --- a/ui/app/templates/components/block-empty.hbs +++ /dev/null @@ -1,11 +0,0 @@ -
-
-
-
-

- {{yield}} -

-
-
-
-
\ No newline at end of file diff --git a/ui/app/templates/partials/secret-form-show.hbs b/ui/app/templates/partials/secret-form-show.hbs index 1be2406e5..ddab01113 100644 --- a/ui/app/templates/partials/secret-form-show.hbs +++ b/ui/app/templates/partials/secret-form-show.hbs @@ -1,11 +1,11 @@ {{#if (and isV2 modelForData.destroyed)}} - - Version {{modelForData.version}} of this secret has been permanently destroyed. - + {{else if (and isV2 modelForData.deleted)}} - - Version {{modelForData.version}} of this secret has been deleted. - + {{else}} {{#if showAdvancedMode}} {{json-editor