{#if isExpired}

{$t('expired')}

{:else if expiresAt}

{$t('expires_date', { values: { date: getCountDownExpirationDate(expiresAt, now) } })}

{:else}

{$t('expires_date', { values: { date: '∞' } })}

{/if}
{#if link.type === SharedLinkType.Album}

{link.album?.albumName.toUpperCase()}

{:else if link.type === SharedLinkType.Individual}

{$t('individual_share').toUpperCase()}

{/if} {#if !isExpired} {/if}

{link.description ?? ''}

{#if link.allowUpload} {$t('upload')} {/if} {#if link.allowDownload} {$t('download')} {/if} {#if link.showMetadata} {$t('exif').toUpperCase()} {/if} {#if link.password} {$t('password')} {/if}
dispatch('delete')} /> dispatch('edit')} /> dispatch('copy')} />