]> git.plutz.net Git - confetti/blobdiff - templates/view_card.sh
cleanup of category handling
[confetti] / templates / view_card.sh
index 3319e07e188bdf2e0df64fec841c73f6524f8598..6d23a76bd0037798df0ade2c6cb265ecb64fec71 100755 (executable)
@@ -1,4 +1,4 @@
-# Copyright 2014 - 2016 Paul Hänsch
+# Copyright 2014 - 2017 Paul Hänsch
 #
 # This file is part of Confetti.
 # 
@@ -94,7 +94,10 @@ if [ "$PROFILE" = circus ]; then
     cname="$(sed -rn 's:^SUMMARY\:(.*)$:\1:p' "$_DATA/ical/$each")"
     printf '   <li><a class="item attendance" href="?p=courses#%s">%s</a></li>' "$each" "$(htmlsafe $cname)"
   done
-  printf '</ul></div>'
+  printf '</ul>'
+  list_items CATEGORIES
+  printf '</div>'
+
 elif [ "$PROFILE" = medical ]; then
   list_items ADR
   list_items URL