From: Paul Hänsch Date: Mon, 15 Apr 2024 10:19:54 +0000 (+0200) Subject: make To: address configurable X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=b7a7bb5c1a4acad9b0fae1df2f062f661fea71cd;p=confetti make To: address configurable --- diff --git a/courses/list.sh b/courses/list.sh index cc0deae..7152266 100755 --- a/courses/list.sh +++ b/courses/list.sh @@ -3,6 +3,7 @@ . "${_EXEC}"/pdiread.sh SUP_FIELDS="COMMENT" +MAILTO="${MAILTO:-confetti@confetti}" edit_course(){ local coursefile="$_DATA/ical/$1" @@ -69,7 +70,7 @@ print_course(){ [a .button .item href="${_BASE}/courses/edit_course.sh?course=${coursefile##*/}" $(l10n edit)] [a .button .item href="${_BASE}/courses/export_pdf.sh?course=${coursefile##*/}" target="blank" $(l10n courselist)] [a .button .item href="${_BASE}/courses/export_ical.sh?course=${coursefile##*/}" $(l10n ics_export)] - [a .button .item href="mailto:zack@vuesch.org?bcc=$(course_mail "${coursefile##*/}" |HTML)" $(l10n course_mail)] + [a .button .item href="mailto:${MAILTO}?bcc=$(course_mail "${coursefile##*/}" |HTML)" $(l10n course_mail)] ] ] EOF