local card="$(pdi_load "$cardfile")"
cat <<-EOF
[div .card #${cardfile##*/}
- [div .section .basic ­$(
+ [div .section .basic . $(
card_item "$card" FN GENDER NICKNAME BDAY X-ZACK-JOINDATE X-ZACK-LEAVEDATE SOUND PHOTO LOGO
)]
- [div .section .phone ­$(card_item "$card" TEL)]
- [div .section .message ­$(card_item "$card" EMAIL IMPP URL)]
- [div .section .address ­$(card_item "$card" ADR)]
- [div .section .note ­$(card_item "$card" NOTE)]
- [div .section .attendance [h3 $(l10n course_attendance) ] [ul ­
+ [div .section .phone . $(card_item "$card" TEL)]
+ [div .section .message . $(card_item "$card" EMAIL IMPP URL)]
+ [div .section .address . $(card_item "$card" ADR)]
+ [div .section .note . $(card_item "$card" NOTE)]
+ [div .section .attendance [h3 $(l10n course_attendance) ] [ul .
$(grep -F " ${cardfile##*/}" "$_DATA/mappings/attendance" |while read each discard; do
- printf '[li [a .item .attendance href="/courses#%s" ­%s]]' \
+ printf '[li [a .item .attendance href="/courses#%s" . %s]]' \
"$each" \
"$(pdi_value "$(pdi_load "$_DATA/ical/$each")" SUMMARY |unescape |HTML)"
done)]