From c9feb474be9739829d9eeb374ee1a873cb149f1f Mon Sep 17 00:00:00 2001 From: martabal <74269598+martabal@users.noreply.github.com> Date: Thu, 26 Oct 2023 00:20:20 +0200 Subject: [PATCH] use icons --- .../asset-viewer/asset-viewer-nav-bar.svelte | 2 +- .../asset-viewer/detail-panel.svelte | 41 +++++++++---------- .../(user)/people/[personId]/+page.svelte | 1 - 3 files changed, 21 insertions(+), 23 deletions(-) diff --git a/web/src/lib/components/asset-viewer/asset-viewer-nav-bar.svelte b/web/src/lib/components/asset-viewer/asset-viewer-nav-bar.svelte index 960df2719..62936ed23 100644 --- a/web/src/lib/components/asset-viewer/asset-viewer-nav-bar.svelte +++ b/web/src/lib/components/asset-viewer/asset-viewer-nav-bar.svelte @@ -146,7 +146,7 @@ {/if} {#if isOwner} {#if !asset.isReadOnly && !asset.isExternal} - dispatch('delete')} title="Delete" /> + dispatch('delete')} title="Delete" /> {/if} dispatch('close')} > - +

Info

@@ -159,7 +158,7 @@

People

{#if unassignedFaces.length > 0}

{`${unassignedFaces.length} face${unassignedFaces.length > 1 ? 's' : ''} available to add`}

@@ -224,7 +223,7 @@ })}
- +
@@ -256,7 +255,7 @@ {#if asset.exifInfo?.fileSizeInByte}
-
+

@@ -280,7 +279,7 @@ {#if asset.exifInfo?.make || asset.exifInfo?.model || asset.exifInfo?.fNumber}

-
+

{asset.exifInfo.make || ''} {asset.exifInfo.model || ''}

@@ -309,24 +308,24 @@ {#if asset.exifInfo?.city}
-
-
+
-

{asset.exifInfo.city}

- {#if asset.exifInfo?.state} -
-

{asset.exifInfo.state}

-
- {/if} - {#if asset.exifInfo?.country} -
-

{asset.exifInfo.country}

-
- {/if} +
+

{asset.exifInfo.city}

+ {#if asset.exifInfo?.state} +
+

{asset.exifInfo.state}

+
+ {/if} + {#if asset.exifInfo?.country} +
+

{asset.exifInfo.country}

+
+ {/if} +
{/if} -
diff --git a/web/src/routes/(user)/people/[personId]/+page.svelte b/web/src/routes/(user)/people/[personId]/+page.svelte index 67f5f8729..47f901806 100644 --- a/web/src/routes/(user)/people/[personId]/+page.svelte +++ b/web/src/routes/(user)/people/[personId]/+page.svelte @@ -366,7 +366,6 @@ {#if viewMode === ViewMode.UNASSIGN_ASSETS} a.id)} personId={data.person.id} on:close={() => (viewMode = ViewMode.VIEW_ASSETS)}