]> git.plutz.net Git - confetti/commitdiff
course list button
authorpaul <paul@plutz.net>
Tue, 8 Apr 2014 11:28:48 +0000 (11:28 +0000)
committerpaul <paul@plutz.net>
Tue, 8 Apr 2014 11:28:48 +0000 (11:28 +0000)
svn path=/trunk/; revision=47

templates/text_courses.sh
templates/view_course.sh

index c4bfcd93d5d6c074873bf64780bbcdc5d7ae8b3d..d7c84d1966cc9c2fd6858f3944ca4f1d438646b5 100755 (executable)
@@ -26,6 +26,7 @@ item_name[edit_addfield]="+"
 item_name[edit_dtscal]="&#x2713;"
 item_name[edit]="Bearbeiten"
 item_name[ics_export]="ICal exportieren"
+item_name[courselist]="Kursliste (PDF)"
 
 item_name[course_attendance]="Teilnahme"
 item_name[course_mail]="Mail an Teilnehmende"
index 107fc799dea1b23092b62e171724aa2e1640ec4f..fb6883074b33807fe14642fefea706addb079f98 100755 (executable)
@@ -76,6 +76,7 @@ echo '  </div>'
 
 echo '  <div class="section control">'
 echo '    <a class="item control" href="?action=edit_course&course='${id}'">'$(l10n edit)'</a>'
+echo '    <a class="item control" href="?action=generate_courselist&course='${id}'" target="_blank">'$(l10n courselist)'</a>'
 echo '    <a class="item control" href="?export=ical&course='${id}'">'$(l10n ics_export)'</a>'
 echo '    <a class="item control" href="mailto:zack@vuesch.org?bcc='$(course_mail "$id")'">'$(l10n course_mail)'</a>'
 echo '  </div>'