Remove old BlockEmpty component

This commit is contained in:
Joshua Ogle 2018-11-03 10:26:48 -06:00 committed by Matthew Irish
parent 272b4e2f77
commit 7763ad50ef
3 changed files with 6 additions and 19 deletions

View File

@ -1,2 +0,0 @@
import OuterHTML from './outer-html';
export default OuterHTML.extend();

View File

@ -1,11 +0,0 @@
<div class="box is-bottomless has-background-white-bis">
<div class="columns is-centered">
<div class="column is-half has-text-centered">
<div class="box is-shadowless has-background-white-bis">
<p class="has-text-grey">
{{yield}}
</p>
</div>
</div>
</div>
</div>

View File

@ -1,11 +1,11 @@
{{#if (and isV2 modelForData.destroyed)}}
<BlockEmpty>
Version {{modelForData.version}} of this secret has been permanently destroyed.
</BlockEmpty>
<EmptyState
@title="Version {{modelForData.version}} of this secret has been permanently destroyed."
/>
{{else if (and isV2 modelForData.deleted)}}
<BlockEmpty>
Version {{modelForData.version}} of this secret has been deleted.
</BlockEmpty>
<EmptyState
@title="Version {{modelForData.version}} of this secret has been deleted."
/>
{{else}}
{{#if showAdvancedMode}}
{{json-editor