fix(exams): change heading to rooms if no occurrence times are shown

This commit is contained in:
Gregor Kleen 2019-07-23 09:18:27 +02:00
parent e35fed6b85
commit 5cb9404b7d
2 changed files with 5 additions and 1 deletions

View File

@ -1124,6 +1124,7 @@ ExamRoomRandom': Zufällig pro Teilnehmer
ExamOccurrence: Termin/Raum ExamOccurrence: Termin/Raum
ExamNoOccurrence: Kein Termin/Raum ExamNoOccurrence: Kein Termin/Raum
ExamOccurrences: Prüfungen ExamOccurrences: Prüfungen
ExamRooms: Räume
ExamRoomAlreadyExists: Prüfung ist bereits eingetragen ExamRoomAlreadyExists: Prüfung ist bereits eingetragen
ExamRoomName: Interne Bezeichnung ExamRoomName: Interne Bezeichnung
ExamRoom: Raum ExamRoom: Raum

View File

@ -89,7 +89,10 @@ $maybe desc <- examDescription
$if not (null occurrences) $if not (null occurrences)
<section> <section>
<h2> <h2>
_{MsgExamOccurrences} $if examTimes
_{MsgExamOccurrences}
$else
_{MsgExamRooms}
<table .table .table--striped .table--hover> <table .table .table--striped .table--hover>
<thead> <thead>
<tr .table__row .table__row--head> <tr .table__row .table__row--head>