diff --git a/module/Application/language/en.po b/module/Application/language/en.po index dd520e8365..f834319e84 100644 --- a/module/Application/language/en.po +++ b/module/Application/language/en.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: GEWISweb 0.1.0-dev\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-26 19:21+0200\n" -"PO-Revision-Date: 2023-09-26 19:22+0200\n" +"POT-Creation-Date: 2023-09-30 23:18+0200\n" +"PO-Revision-Date: 2023-09-30 23:18+0200\n" "Last-Translator: Tom Udding \n" "Language-Team: English \n" "Language: en\n" @@ -17,7 +17,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Poedit 3.3.2\n" +"X-Generator: Poedit 3.1.1\n" msgid " has a limited capacity and " msgstr " has a limited capacity and " @@ -1172,8 +1172,8 @@ msgstr "Exam to upload" msgid "Exams" msgstr "Exams" -msgid "Exams and summaries" -msgstr "Exams and summaries" +msgid "Exams & Solutions" +msgstr "Exams & Solutions" msgid "Exceptional Members" msgstr "Exceptional Members" @@ -2892,9 +2892,19 @@ msgstr "There are a few rules:" msgid "There are currently no activity categories..." msgstr "There are currently no activity categories..." +msgid "There are currently no exams or solutions available." +msgstr "There are currently no exams or solutions available." + msgid "There are currently no job labels..." msgstr "There are currently no job labels..." +msgid "" +"There are currently no summaries available. Consider submitting one yourself " +"by sending an email to" +msgstr "" +"There are currently no summaries available. Consider submitting one yourself " +"by sending an email to" + msgid "There are no activities in the archive." msgstr "There are no activities in the archive." diff --git a/module/Application/language/gewisweb.pot b/module/Application/language/gewisweb.pot index 5a0ada7d09..bb53f97585 100644 --- a/module/Application/language/gewisweb.pot +++ b/module/Application/language/gewisweb.pot @@ -6,9 +6,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: GEWISweb v2.8.6-509-g92a891dbc-dirty\n" +"Project-Id-Version: GEWISweb e0cd4ee5-dirty\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-26 19:21+0200\n" +"POT-Creation-Date: 2023-09-30 23:20+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -1121,7 +1121,7 @@ msgstr "" msgid "Exams" msgstr "" -msgid "Exams and summaries" +msgid "Exams & Solutions" msgstr "" msgid "Exceptional Members" @@ -2731,9 +2731,17 @@ msgstr "" msgid "There are currently no activity categories..." msgstr "" +msgid "There are currently no exams or solutions available." +msgstr "" + msgid "There are currently no job labels..." msgstr "" +msgid "" +"There are currently no summaries available. Consider submitting one yourself " +"by sending an email to" +msgstr "" + msgid "There are no activities in the archive." msgstr "" diff --git a/module/Application/language/nl.po b/module/Application/language/nl.po index 6c427d3a15..e3a17b527c 100644 --- a/module/Application/language/nl.po +++ b/module/Application/language/nl.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: GEWISweb 0.1.0-dev\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-26 19:21+0200\n" -"PO-Revision-Date: 2023-09-26 19:23+0200\n" +"POT-Creation-Date: 2023-09-30 23:18+0200\n" +"PO-Revision-Date: 2023-09-30 23:20+0200\n" "Last-Translator: Tom Udding \n" "Language-Team: English \n" "Language: nl\n" @@ -17,7 +17,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Poedit 3.3.2\n" +"X-Generator: Poedit 3.1.1\n" msgid " has a limited capacity and " msgstr " heeft een beperkte capaciteit en " @@ -1183,8 +1183,8 @@ msgstr "Tentamen" msgid "Exams" msgstr "Tentamens" -msgid "Exams and summaries" -msgstr "Tentamens en samenvattingen" +msgid "Exams & Solutions" +msgstr "Tentamens & Correctievoorschriften" msgid "Exceptional Members" msgstr "Uitzonderlijke leden" @@ -2919,9 +2919,20 @@ msgstr "Er zijn een paar regels:" msgid "There are currently no activity categories..." msgstr "Er zijn momenteel geen activiteitencategorieën..." +msgid "There are currently no exams or solutions available." +msgstr "" +"Er zijn momenteel geen tentamens of correctievoorschriften beschikbaar." + msgid "There are currently no job labels..." msgstr "Er zijn momenteel geen vacature-labels..." +msgid "" +"There are currently no summaries available. Consider submitting one yourself " +"by sending an email to" +msgstr "" +"Er zijn momenteel geen samenvattingen beschikbaar. Stuur er zelf een in door " +"te mailen naar" + msgid "There are no activities in the archive." msgstr "Er zijn geen activiteiten in het archief." @@ -3026,8 +3037,8 @@ msgid "" "it will start on %s and end on %s." msgstr "" "Dit is activiteit #%d, georganiseerd door %s, en deze zal beginnen op %s en eindigen op " -"%s." +"strong>, en deze zal beginnen op %s en eindigen op " +"%s." #, php-format msgid "This job is proposed by %s as part of job package %s." diff --git a/module/Education/view/education/education/course.phtml b/module/Education/view/education/education/course.phtml index b145bf62a2..83c3b26c29 100644 --- a/module/Education/view/education/education/course.phtml +++ b/module/Education/view/education/education/course.phtml @@ -19,6 +19,18 @@ $this->headTitle(sprintf( $this->escapeHtml($course->getName()), )); $this->headTitle($this->translate('Education')); +$documents = $course->getDocuments(); +$exams = []; +$summaries = []; + +foreach ($documents as $document) { + if ($document instanceof SummaryModel){ + $summaries[] = $document; + } else { + $exams[] = $document; + } +} + ?>
@@ -29,37 +41,56 @@ $this->headTitle($this->translate('Education'));