diff --git a/UWLecturePlan/Views/Lecture/Index.cshtml b/UWLecturePlan/Views/Lecture/Index.cshtml index cc5c7bb..f9449d1 100644 --- a/UWLecturePlan/Views/Lecture/Index.cshtml +++ b/UWLecturePlan/Views/Lecture/Index.cshtml @@ -1,4 +1,5 @@ @using System.Text.RegularExpressions +@using System.Globalization; @model LecturesViewModel @{ ViewData["Title"] = "Vorlesungsplan"; @@ -42,13 +43,13 @@ if (@day.Key.ToString("dd.MM.yyyy") == Model.Date) { } else { } } @@ -102,7 +103,7 @@

@@ -160,7 +161,7 @@ @foreach (var time in Model.LectureEvents.GroupBy(x => x.From).OrderBy(x => x.Key)) {
- @time.Key.ToString("HH:mm") - (@time.Count()) + @time.Key.ToString("HH:mm") @foreach (var eventItem in time.Distinct().OrderBy(x => x.Lecture.Title)) {