From: Paul Hänsch Date: Sat, 2 Jan 2021 09:15:53 +0000 (+0100) Subject: replace superfluous ­ X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=b2b32a544a01e3f2b3f48b506cb49a6c383b8105;p=confetti replace superfluous ­ --- diff --git a/cards/list.sh b/cards/list.sh index f2f4a4b..6321f0b 100755 --- a/cards/list.sh +++ b/cards/list.sh @@ -78,16 +78,16 @@ print_card(){ 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)]