Skip to content

Commit

Permalink
Allow for missing logo's
Browse files Browse the repository at this point in the history
  • Loading branch information
phavekes committed Oct 21, 2024
1 parent 77dffd3 commit 2fa0714
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 6 deletions.
8 changes: 6 additions & 2 deletions client/src/routes/Intake.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,9 @@

<!-- <span>{$offering.homeInstitution.name}</span>-->
</div>
<img src={$offering.homeInstitution.logoURI} alt=""/>
{#if $offering.guestInstitution.logoURI}
<img src={$offering.homeInstitution.logoURI} alt=""/>
{/if}
</div>
<div class="institution">
<div class="institution-detail">
Expand All @@ -144,7 +146,9 @@

<!-- <span>{$offering.guestInstitution.name}</span>-->
</div>
<img src={$offering.guestInstitution.logoURI} alt=""/>
{#if $offering.guestInstitution.logoURI}
<img src={$offering.guestInstitution.logoURI} alt=""/>
{/if}
</div>
<p>Offering ID</p>
<span class="info">The unique identifier of the cours / offering</span>
Expand Down
8 changes: 6 additions & 2 deletions client/src/routes/Results.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,9 @@
selectedValue={$offering.homeInstitution}
isDisabled={true}/>
</div>
<img src={$offering.homeInstitution.logoURI} alt=""/>
{#if $offering.homeInstitution.logoURI}
<img src={$offering.homeInstitution.logoURI} alt=""/>
{/if}
</div>
<div class="institution">
<div class="institution-detail">
Expand All @@ -157,7 +159,9 @@
selectedValue={$offering.guestInstitution}
isDisabled={true}/>
</div>
<img src={$offering.guestInstitution.logoURI} alt=""/>
{#if $offering.guestInstitution.logoURI}
<img src={$offering.guestInstitution.logoURI} alt=""/>
{/if}
</div>
{#if !$offering.associationId}
<p>Association</p>
Expand Down
8 changes: 6 additions & 2 deletions client/src/routes/ResultsV4.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,9 @@
selectedValue={$offering.homeInstitution}
isDisabled={true}/>
</div>
<img src={$offering.homeInstitution.logoURI} alt=""/>
{#if $offering.homeInstitution.logoURI}
<img src={$offering.homeInstitution.logoURI} alt=""/>
{/if}
</div>
<div class="institution">
<div class="institution-detail">
Expand All @@ -136,7 +138,9 @@
selectedValue={$offering.guestInstitution}
isDisabled={true}/>
</div>
<img src={$offering.guestInstitution.logoURI} alt=""/>
{#if $offering.guestInstitution.logoURI}
<img src={$offering.guestInstitution.logoURI} alt=""/>
{/if}
</div>
<p>Results</p>
<span class="info">It's either very good or very bad</span>
Expand Down

0 comments on commit 2fa0714

Please sign in to comment.