diff --git a/src/components/AddOrgModal.svelte b/src/components/AddOrgModal.svelte new file mode 100644 index 00000000..1af6e0c6 --- /dev/null +++ b/src/components/AddOrgModal.svelte @@ -0,0 +1,166 @@ + + +{#if modal_open} +
+ Please provide the required information to add a new + organization. +
+organizations are being loaded...
+{$_('this-might-take-a-moment')}
++ Name + | ++ Address + | ++ Contact + | ++ Action + | +|
---|---|---|---|---|
+
+
+
+
+
+ {o.name}
+
+ |
+
+
+
+
+
+
+ {#if o.address}
+ {JSON.stringify(o.address)}
+ {:else}no address specified{/if}
+
+ |
+
+
+
+
+
+
+ {#if o.contact}
+ {JSON.stringify(o.contact)}
+ {:else}no contact specified{/if}
+
+ |
+ {#if active_deletes[o.id] === true}
+ + + + | + {:else} ++ Edit + {#if store.state.jwtinfo.userdetails.permissions.includes('ORGANISATION:DELETE')} + + {/if} + | + {/if} +
- add, delete, edit organizations -
- +manage runner organizations
+
+ There are no organizations added yet.
+ Add your first organization
+