Skip to content

Commit

Permalink
0 year as generali
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelemusiani committed Jun 6, 2024
1 parent 4730d17 commit e757b82
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/routes/dash/[course]/ListTeaching.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@
<ul class="menu p-2">
{#each years as year}
{#if year.teachings.length > 0}
{@const type = year.year != 0 ? year.year.toString() + ' anno' : 'Generali'}
<li class="menu-title">
<span class="text-2xl mt-5 italic">{year.year} anno {title}</span>
<span class="text-2xl mt-5 italic">{type} {title}</span>
</li>
<div class="divider mt-0"></div>
<div class="flex flex-row flex-wrap">
Expand Down

0 comments on commit e757b82

Please sign in to comment.