support for maniupulating vcard categories
[confetti] / templates / view_card.sh
index 3319e07..9728d8f 100755 (executable)
@@ -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