mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-04 03:00:32 +08:00
Allow profiles to be associated in all cases
This commit is contained in:
@@ -186,10 +186,10 @@
|
||||
</button>
|
||||
{/if}
|
||||
</div>
|
||||
<!-- Name -->
|
||||
<!-- Name/Profile -->
|
||||
<div class="label">Profile</div>
|
||||
<!-- Only show the name if we aren't already using the name of the owner -->
|
||||
{#if utils.isAddressEqual(profile.address, org.address)}
|
||||
<div class="label">Name</div>
|
||||
<div>
|
||||
{#if profile.name}
|
||||
<Link to={`/registrations/${parseEnsLabel(profile.name, config)}`}>{profile.name}</Link>
|
||||
@@ -208,6 +208,19 @@
|
||||
{/if}
|
||||
{/await}
|
||||
</div>
|
||||
{:else}
|
||||
<div class="subtle">
|
||||
Using owner's profile.
|
||||
</div>
|
||||
<div>
|
||||
{#await isAuthorized(org) then authorized}
|
||||
{#if authorized}
|
||||
<button class="tiny secondary" on:click={setName}>
|
||||
Change
|
||||
</button>
|
||||
{/if}
|
||||
{/await}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
|
||||
@@ -108,7 +108,7 @@
|
||||
</div>
|
||||
</Modal>
|
||||
{:else if state === State.Mismatch}
|
||||
<Error floating title="🖊️" on:close>
|
||||
<Error floating title="🧣" on:close>
|
||||
The name <strong>{name}.{config.registrar.domain}</strong> does not
|
||||
resolve to <strong>{entity.address}</strong>. Please update
|
||||
the ENS record for {name}.{config.registrar.domain} to
|
||||
@@ -128,8 +128,8 @@
|
||||
{:else}
|
||||
<Modal floating>
|
||||
<div slot="title">
|
||||
<div>🖊️</div>
|
||||
<span>Reverse record</span>
|
||||
<div>🧣</div>
|
||||
<span>Associate profile</span>
|
||||
</div>
|
||||
|
||||
<div slot="subtitle">
|
||||
@@ -143,6 +143,9 @@
|
||||
please sign the transaction in your wallet.
|
||||
{:else}
|
||||
Set an ENS name for <strong>{formatAddress(entity.address)}</strong>
|
||||
to associate a profile.
|
||||
ENS profiles provide human-identifiable data to your org, such as a
|
||||
unique name, avatar and URL, and help make your org more discoverable.
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user