Skip to content

Commit

Permalink
add activities count (symbolized as emojis) to frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
BernhardAuer committed Dec 8, 2023
1 parent 2dbee14 commit 9f61b03
Showing 1 changed file with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,27 @@
<div class="badge badge-outline">
{convertLengthToReadableString(speech.lengthOfSpeechInSec)} min
</div>
{#if "applause" in speech?.activitiesCount}
<div class="badge badge-outline">
<div class="tooltip" data-tip="Beifall">
👏🏻 {speech?.activitiesCount["applause"]}
</div>
</div>
{/if}
{#if "cheerfulness" in speech?.activitiesCount}
<div class="badge badge-outline">
<div class="tooltip" data-tip="Heiterkeit">
😅 {speech?.activitiesCount["cheerfulness"]}
</div>
</div>
{/if}
{#if "shouting" in speech?.activitiesCount}
<div class="badge badge-outline">
<div class="tooltip" data-tip="Zwischenruf">
🗣️ {speech?.activitiesCount["shouting"]}
</div>
</div>
{/if}
</div>
</div>
</div>

0 comments on commit 9f61b03

Please sign in to comment.