whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Different intro for title page as it is recreated each time
Date Thu, 25 May 2017 19:45:28 GMT
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  42a71fe   Different intro for title page as it is recreated each time
42a71fe is described below

commit 42a71fe393df17ea5126408fdeba081610f8245a
Author: Sebb <sebb@apache.org>
AuthorDate: Thu May 25 20:44:33 2017 +0100

    Different intro for title page as it is recreated each time
---
 tools/collate_minutes.rb | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/tools/collate_minutes.rb b/tools/collate_minutes.rb
index bafa51c..74420d8 100755
--- a/tools/collate_minutes.rb
+++ b/tools/collate_minutes.rb
@@ -675,7 +675,11 @@ def layout(title = nil)
   # Add the replacement first para
   section.add_child getHTMLbody {|x|
     x.p do
-      x.text! "This was extracted (@ #{stamp}) from a list of"
+      if title
+        x.text! "This was extracted (@ #{stamp}) from a list of"
+      else # main index, which is always replaced
+        x.text! "Last run: #{stamp}. The data is extracted from a list of"
+      end
       x.a 'minutes', :href => 'http://www.apache.org/foundation/records/minutes/'
       x.text! "which have been approved by the Board."
       x.br

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <commits@whimsical.apache.org>'].

Mime
View raw message