This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 23e4e623 Docco [skip ci]
23e4e623 is described below
commit 23e4e623ef7320f5a4d3974f1923c235f2454762
Author: Sebb <[email protected]>
AuthorDate: Sun Dec 17 15:39:28 2023 +0000
Docco [skip ci]
---
www/board/agenda/views/actions/reminder-text.json.rb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/www/board/agenda/views/actions/reminder-text.json.rb
b/www/board/agenda/views/actions/reminder-text.json.rb
index 6b298d2a..b8449cfc 100644
--- a/www/board/agenda/views/actions/reminder-text.json.rb
+++ b/www/board/agenda/views/actions/reminder-text.json.rb
@@ -1,3 +1,5 @@
+# Pre-process a Mustache template, replacing the references that are fixed for
a given meeting
+
require 'active_support/time'
raise ArgumentError, "Invalid syntax #{@reminder}" unless @reminder =~
/\A[-\w]+\z/
@@ -12,6 +14,7 @@ meeting = ASF::Board.nextMeeting
dueDate = meeting - 7.days
# substitutable variables
+# Warning: references to missing variables will be silently dropped
view = {
project: '{{{project}}}',
link: '{{{link}}}',