]> git.plutz.net Git - confetti/blobdiff - templates/view_attendee.sh
smaller page margins, fixed width for name field = more attendess on one page of...
[confetti] / templates / view_attendee.sh
index cd44259a1afcea3bd8fe5a24fe68d48732606a55..4d14e750cf12da1d81f5c145eb42dae8df61b402 100755 (executable)
@@ -1,3 +1,20 @@
+# Copyright 2014 Paul Hänsch
+#
+# This file is part of Confetti.
+# 
+# Confetti is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+# 
+# Confetti is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU Affero General Public License for more details.
+# 
+# You should have received a copy of the GNU Affero General Public License
+# along with Confetti.  If not, see <http://www.gnu.org/licenses/>. 
+
 echo '<div id="'${id}'" class="card">'
 echo '  <div class="section basic">'
 echo '    <span class="item FN">'$values[FN]'</span>'
@@ -68,7 +85,7 @@ echo '  <div class="section">'
 echo '    <span class="sectitle">'$(l10n course_attendance)'</span>'
 sed -rn 's:(.*)\t'$id'$:\1:p' "$_DATA/mappings/attendance" |while read each; do
   cname="$(sed -rn 's:^SUMMARY\:(.*)$:\1:p' "$_DATA/ical/$each")"
-  echo '    <a class="item attendance" href="/?page=courses#'$each'">'$cname'</a>'
+  echo '    <a class="item attendance" href="?page=courses#'$each'">'$cname'</a>'
 done
 echo '  </div>'
 echo ''