Replaced more old empty states

This commit is contained in:
Joshua Ogle 2018-11-03 10:33:32 -06:00 committed by Matthew Irish
parent 7763ad50ef
commit 70a12dcde6
8 changed files with 24 additions and 88 deletions

View file

@ -28,15 +28,7 @@
</div>
{{/linked-block}}
{{else}}
<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" data-test-no-entity-aliases-text>
There are no {{model.identityType}} aliases for {{model.name}}.
</p>
</div>
</div>
</div>
</div>
<EmptyState
@title="There are no {{model.identityType}} aliases for {{model.name}}"
/>
{{/each}}

View file

@ -25,15 +25,7 @@
{{/linked-block}}
{{/each}}
{{else}}
<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">
{{model.name}} is not a member of any groups.
</p>
</div>
</div>
</div>
</div>
<EmptyState
@title="{{model.name}} is not a member of any groups."
/>
{{/if}}

View file

@ -52,15 +52,7 @@
{{/linked-block}}
{{/each}}
{{else}}
<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">
There are no members in this group.
</p>
</div>
</div>
</div>
</div>
<EmptyState
@title="No members in this group yet"
/>
{{/if}}

View file

@ -14,15 +14,7 @@
</div>
</div>
{{else}}
<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">
There is no metadata associated with {{model.name}}.
</p>
</div>
</div>
</div>
</div>
<EmptyState
@title="No metadata associated with {{model.name}} yet"
/>
{{/each-in}}

View file

@ -23,15 +23,7 @@
{{/linked-block}}
{{/each}}
{{else}}
<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">
This group has no parent groups.
</p>
</div>
</div>
</div>
</div>
<EmptyState
@title="This group has no parent groups yet"
/>
{{/if}}

View file

@ -20,15 +20,7 @@
</div>
{{/linked-block}}
{{else}}
<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" data-test-no-entity-aliases-text>
There are no policies associated with {{model.name}}.
</p>
</div>
</div>
</div>
</div>
<EmptyState
@title="No policies associated with {{model.name}} yet"
/>
{{/each}}

View file

@ -5,15 +5,7 @@
{{/each}}
</div>
{{else}}
<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">
{{emptyMessage}}
</p>
</div>
</div>
</div>
</div>
<EmptyState
@title={{emptyMessage}}
/>
{{/if}}

View file

@ -17,17 +17,9 @@
{{/info-table-row}}
</div>
{{else}}
<div class="box is-bottomless has-background-white-bis is-marginless">
<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">
The secondary <code>{{model.config.id}}</code> does not currently have performance mount filtering configured.
</p>
</div>
</div>
</div>
</div>
<EmptyState
@title="The secondary <code>{{model.config.id}}</code> does not currently have performance mount filtering configured"
/>
{{/if}}
<div class="field is-fullwidth box is-shadowless">
{{#if model.config.mode}}