From: paul Date: Thu, 28 Nov 2013 17:26:43 +0000 (+0000) Subject: fitted editing to new card layout X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=74402713921d878553d9a7385d5e66c74775380f;p=lobster fitted editing to new card layout svn path=/trunk/; revision=24 --- diff --git a/templates/attendees.css.sh b/templates/attendees.css.sh index 126a952..b86985c 100644 --- a/templates/attendees.css.sh +++ b/templates/attendees.css.sh @@ -31,15 +31,17 @@ cat <' - echo ' '$(l10n NAME)'' + echo ' '$(l10n N)'' echo ' ' echo ' ' echo ' ' echo ' ' echo ' ' - [ -n "$value[GENDER]" ] && \ - echo ' '$(l10n $values[GENDER])'' + if [ -n "$value[GENDER]" ]; then + echo '
' + echo ' ' + fi for n in NICKNAME NICKNAME{0..10}; do [ -n "$values[$n]" ] &&\ - echo ' aka. '$values[$n]'' + echo ' ' done - [ -n "$values[BDAY]" ] &&\ - echo ' *: '$values[BDAY]'' + if [ -n "$values[BDAY]" ]; then + echo ' '$(l10n BDAY)'' + echo ' ' + fi if [ -n "$values[SOUND]" ]; then echo '
' echo '' echo '
' - echo ' '$(l10n EMAIL)'' + [ -n "$values[EMAIL]" ] && \ + echo ' '$(l10n EMAIL)'' for n in EMAIL EMAIL{0..10}; do [ -n "$values[$n]" ] &&\ echo ' ' done @@ -53,7 +54,7 @@ print_card() { echo '
' echo ' '$(l10n NOTE)'' for n in NOTE NOTE{0..10}; do [ -n "$values[$n]" ] &&\ - echo ' '$values[$n]'' + echo ' '$values[$n]'' done echo '
' echo ''