Skip to content

Commit

Permalink
Date is now clickable, if lecture doesn't have a name
Browse files Browse the repository at this point in the history
  • Loading branch information
SebiWrn committed Jan 23, 2024
1 parent a0d815f commit 6eeedd2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions web/template/home.gohtml
Original file line number Diff line number Diff line change
Expand Up @@ -491,8 +491,18 @@

</a>
</template>
<template x-if="vod.HasName()">

<span class="date text-sm"
x-text="vod.FriendlyDateStart()"></span>
</template>

<template x-if="!vod.HasName()">
<a :href="course.WatchURL(vod.ID)">
<span class="date text-sm"
x-text="vod.FriendlyDateStart()"></span>
</a>
</template>
</div>
<button type="button" @click="vod.Dropdown.toggle()"
class="md:group-hover:opacity-100 md:opacity-0 px-2">
Expand Down

0 comments on commit 6eeedd2

Please sign in to comment.