Skip to content

Commit

Permalink
Enh/show date on watch (#1410)
Browse files Browse the repository at this point in the history
* Added date on watch page

* Added if stream.recording
  • Loading branch information
SebiWrn authored Nov 20, 2024
1 parent acca75d commit 95804eb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions web/template/watch.gohtml
Original file line number Diff line number Diff line change
Expand Up @@ -448,8 +448,13 @@
<a href="/course/{{$course.Year}}/{{$course.TeachingTerm}}/{{$course.Slug}}">
<span class="text-5 hover:text-1 hover:underline">{{$course.Name}}</span></a>
</div>
</div>

{{if $stream.Recording}}
<div>
<span class="text-5 text-sm">{{$stream.FriendlyTime}}</span>
</div>
{{end}}
{{if not $stream.Recording}}
{{template "watch-info" .}}
{{end}}
Expand Down

0 comments on commit 95804eb

Please sign in to comment.