X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=templates%2Fview_card.sh;fp=templates%2Fview_attendee.sh;h=3319e07e188bdf2e0df64fec841c73f6524f8598;hp=10cb06e764d9b2219665db638fd0c820fa20bf95;hb=a81f06aa9030d86dd6e4b83eb9f33272be86db20;hpb=0dc31a9e7992c227b680180d3ceee031ac293169 diff --git a/templates/view_attendee.sh b/templates/view_card.sh similarity index 95% rename from templates/view_attendee.sh rename to templates/view_card.sh index 10cb06e..3319e07 100755 --- a/templates/view_attendee.sh +++ b/templates/view_card.sh @@ -59,13 +59,13 @@ for n in NICKNAME NICKNAME{0..100}; do done [ -n "$values[BDAY]" ] && printf ' - *:%s + *: %s ' "$(htmlsafe "$values[BDAY]")" [ -n "$values[X-ZACK-JOINDATE]" ] && printf ' - %s:%s + %s: %s ' "$(l10n label_join)" "$(htmlsafe "$values[X-ZACK-JOINDATE]")" [ -n "$values[X-ZACK-LEAVEDATE]" ] && printf ' - %s:%s + %s:%s ' "$(l10n label_leave)" "$(htmlsafe "$values[X-ZACK-LEAVEDATE]")" [ -n "$values[SOUND]" ] && printf ' @@ -105,9 +105,9 @@ elif [ "$PROFILE" = medical ]; then printf '

%s

' "$(l10n X-HEALTH-INSURANCE)" [ -n "$hi_company" ] && printf '%s' \ "$(htmlsafe "$hi_company")" - [ -n "$hi_number" ] && printf '%s' \ + [ -n "$hi_number" ] && printf ' %s' \ "$(l10n hi_number)" "$(htmlsafe "$hi_number")" - [ -n "$hi_status" ] && printf '%s' \ + [ -n "$hi_status" ] && printf ' %s' \ "$(l10n hi_status)" "$(htmlsafe "$hi_status")" printf '
'