You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by cl...@apache.org on 2020/06/26 18:02:54 UTC

[whimsy] branch master updated: Add DRAFT and solicit feedback for coi.cgi

This is an automated email from the ASF dual-hosted git repository.

clr 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 0749094  Add DRAFT and solicit feedback for coi.cgi
0749094 is described below

commit 074909401da72f791d89d59162f3efea9099a12a
Author: Craig L Russell <ap...@gmail.com>
AuthorDate: Fri Jun 26 11:00:25 2020 -0700

    Add DRAFT and solicit feedback for coi.cgi
---
 www/officers/coi.cgi | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/www/officers/coi.cgi b/www/officers/coi.cgi
index 5dd3300..e8772c4 100755
--- a/www/officers/coi.cgi
+++ b/www/officers/coi.cgi
@@ -65,7 +65,7 @@ def get_affirmed_template(name, timestamp)
     ASF::SVN.svn('cat', COI_CURRENT_TEMPLATE_URL, {user: $USER.dup.untaint, password: $PASSWORD.dup.untaint})
   raise RuntimeError.new("Failed to read current template.txt -- %s" % err) unless template
   centered_name = "#{name}".center(60, '_')
-  centered_date ="#{timestamp}".center(61, '_')
+  centered_date ="#{timestamp}".center(62, '_')
   filled_signature_block = signature_block
     .gsub('Signed: __', ('Signed: ' + centered_name))
     .gsub('Date: __'  , (  'Date: ' + centered_date))
@@ -83,6 +83,8 @@ _html do
     },
     helpblock: -> {
       _p do
+        _b 'DRAFT DRAFT DRAFT - Feedback is solicited at dev@whimsical.apache.org'
+        _p
         _ 'This page allows officers to sign their Conflict of Interest annual affirmation.'
       end
       if _.get?
@@ -134,6 +136,8 @@ _html do
 
             _pre affirmed
 
+            _b 'This is a DRAFT for feedback; pressing the button will send email to you but will not register your affirmation'
+
             _form.form_horizontal method: 'post' do
               _div.form_group do
                 _div.col_sm_offset_1.col_sm_10 do