X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=templates%2Fedit_course.sh;h=67e051173189afd5856258a9811ac36c27fb2911;hp=cab321315e49ee30d6c9f085910d7f5797d6b6a4;hb=63e4f339c5eb99b4aed9a2f201c2547c06703b5c;hpb=c195881a2389862d4bfcd2fd55ca868f7a20b8e8 diff --git a/templates/edit_course.sh b/templates/edit_course.sh index cab3213..67e0511 100755 --- a/templates/edit_course.sh +++ b/templates/edit_course.sh @@ -1,6 +1,22 @@ +# 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 . SUP_FIELDS=(SUMMARY COMMENT) -[ -z "$values[UID]" ] && values[UID]="$(dbus-uuidgen)" +[ -z "$values[UID]" ] && values[UID]="$(uuidgenerator)" dtstart="$values[DTSTART]" [ -z "$dtstart" ] && dtstart=$(date +%Y%m%dT%H%M%S) @@ -42,7 +58,7 @@ else fi echo '
' -echo '
' +echo '' echo '' echo '
' echo ' '$(l10n SUMMARY)'' @@ -88,7 +104,7 @@ for h in {00..23}; do echo ' ' done echo ' :' @@ -132,6 +148,21 @@ done echo ' ' echo '
' +echo '
' +echo ' '$(l10n course_attendance)'' +echo ' ' +echo '
' + echo '
' echo ' ' echo '