From 2fa0714e464f189659fddc30fe86d83c0d3f3d4e Mon Sep 17 00:00:00 2001 From: Peter Havekes Date: Mon, 21 Oct 2024 12:37:22 +0200 Subject: [PATCH] Allow for missing logo's --- client/src/routes/Intake.svelte | 8 ++++++-- client/src/routes/Results.svelte | 8 ++++++-- client/src/routes/ResultsV4.svelte | 8 ++++++-- 3 files changed, 18 insertions(+), 6 deletions(-) diff --git a/client/src/routes/Intake.svelte b/client/src/routes/Intake.svelte index 5e459b9..bbe9340 100644 --- a/client/src/routes/Intake.svelte +++ b/client/src/routes/Intake.svelte @@ -128,7 +128,9 @@ - + {#if $offering.guestInstitution.logoURI} + + {/if}
@@ -144,7 +146,9 @@
- + {#if $offering.guestInstitution.logoURI} + + {/if}

Offering ID

The unique identifier of the cours / offering diff --git a/client/src/routes/Results.svelte b/client/src/routes/Results.svelte index 5b63805..f4da172 100644 --- a/client/src/routes/Results.svelte +++ b/client/src/routes/Results.svelte @@ -144,7 +144,9 @@ selectedValue={$offering.homeInstitution} isDisabled={true}/> - + {#if $offering.homeInstitution.logoURI} + + {/if}
@@ -157,7 +159,9 @@ selectedValue={$offering.guestInstitution} isDisabled={true}/>
- + {#if $offering.guestInstitution.logoURI} + + {/if}
{#if !$offering.associationId}

Association

diff --git a/client/src/routes/ResultsV4.svelte b/client/src/routes/ResultsV4.svelte index 7ac7402..ef1c229 100644 --- a/client/src/routes/ResultsV4.svelte +++ b/client/src/routes/ResultsV4.svelte @@ -123,7 +123,9 @@ selectedValue={$offering.homeInstitution} isDisabled={true}/> - + {#if $offering.homeInstitution.logoURI} + + {/if}
@@ -136,7 +138,9 @@ selectedValue={$offering.guestInstitution} isDisabled={true}/>
- + {#if $offering.guestInstitution.logoURI} + + {/if}

Results

It's either very good or very bad