Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for missing logo's #67

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading