mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-02 10:10:28 +08:00
Better org success dialog
This commit is contained in:
@@ -46,6 +46,11 @@
|
||||
<slot name="title"></slot>
|
||||
{/if}
|
||||
</div>
|
||||
<div class="modal-subtitle">
|
||||
{#if !error}
|
||||
<slot name="subtitle"></slot>
|
||||
{/if}
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
{#if error}
|
||||
{#if error === Object(error) && error.message}
|
||||
|
||||
@@ -43,18 +43,27 @@
|
||||
{#if !org}
|
||||
Create an Org
|
||||
{:else}
|
||||
Success
|
||||
🎉
|
||||
{/if}
|
||||
</span>
|
||||
|
||||
<span slot="subtitle">
|
||||
{#if org}
|
||||
<strong>Your org was successfully created.</strong>
|
||||
{/if}
|
||||
</span>
|
||||
|
||||
<span slot="body">
|
||||
<table>
|
||||
<tr><td class="label">Member</td><td>{owner}</td></tr>
|
||||
{#if org}
|
||||
{#if org}
|
||||
<table>
|
||||
<tr><td class="label">Address</td><td>{org.address}</td></tr>
|
||||
<tr><td class="label">Safe</td><td>{org.safe}</td></tr>
|
||||
{/if}
|
||||
</table>
|
||||
</table>
|
||||
{:else}
|
||||
<table>
|
||||
<tr><td class="label">Member</td><td>{owner}</td></tr>
|
||||
</table>
|
||||
{/if}
|
||||
</span>
|
||||
|
||||
<span slot="actions">
|
||||
|
||||
Reference in New Issue
Block a user