X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=templates%2Fview_attendee.sh;h=0265a807e2d44ac4c69996303d4046711b178e04;hp=35f33f357609d029e48f2032d2e9bfca06ecbd38;hb=63e4f339c5eb99b4aed9a2f201c2547c06703b5c;hpb=383a578b8dd87bb6649e3652232685e28824a8c1 diff --git a/templates/view_attendee.sh b/templates/view_attendee.sh index 35f33f3..0265a80 100755 --- a/templates/view_attendee.sh +++ b/templates/view_attendee.sh @@ -1,3 +1,20 @@ +# 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]'' @@ -8,6 +25,12 @@ for n in NICKNAME NICKNAME{0..10}; do [ -n "$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 '
'