{#if onShowContextMenu}
{/if}

{album.albumName}

{#if showDateRange && album.startDate && album.endDate}

{getShortDateRange(album.startDate, album.endDate)}

{/if} {#if showItemCount}

{$t('items_count', { values: { count: album.assetCount } })}

{/if} {#if (showOwner || album.shared) && showItemCount}

{/if} {#if showOwner} {#if $user.id === album.ownerId}

{$t('owned')}

{:else if album.owner}

{$t('shared_by_user', { values: { user: album.owner.name } })}

{:else}

{$t('shared')}

{/if} {:else if album.shared}

{$t('shared')}

{/if}