X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=templates%2Fview_attendee.sh;h=df3649e0653a966bdd2d4e65fc2d41117c649bfe;hp=685ea8a4a46ac57ce44b735dbe791d6234e4103a;hb=1e8f35fa92c610b540cbe365e2231194b58e0cc0;hpb=b3ddca9d8e6af72d0e9847b3d5d1f7778ef1f1af diff --git a/templates/view_attendee.sh b/templates/view_attendee.sh index 685ea8a..df3649e 100755 --- a/templates/view_attendee.sh +++ b/templates/view_attendee.sh @@ -1,13 +1,36 @@ +# Copyright 2014 Paul Hänsch +# +# This file is part of Confetti. +# +# Confetti is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Confetti is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with Confetti. If not, see . + echo '
' echo '
' echo ' '$values[FN]'' -[ -n "$value[GENDER]" ] && \ +[ -n "$values[GENDER]" ] && \ echo ' '$(l10n $values[GENDER])'' for n in NICKNAME NICKNAME{0..10}; do [ -n "$values[$n]" ] &&\ echo ' aka. '$values[$n]'' done [ -n "$values[BDAY]" ] &&\ echo ' *: '$values[BDAY]'' + +[ -n "$values[X-ZACK-JOINDATE]" ] &&\ + echo ' '$(l10n label_join)': '$values[X-ZACK-JOINDATE]'' +[ -n "$values[X-ZACK-LEAVEDATE]" ] &&\ + echo ' '$(l10n label_leave)': '$values[X-ZACK-LEAVEDATE]'' + if [ -n "$values[SOUND]" ]; then echo '