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

clr pushed a commit to branch signature_not_armored
in repository https://gitbox.apache.org/repos/asf/whimsy.git

commit 727d6b13bb29105af29065a96444a61df601409a
Author: Craig L Russell <apache....@gmail.com>
AuthorDate: Tue Mar 29 17:23:14 2022 -0700

    Update parts.js.rb
    
    Add "gpg signature not armored"
---
 www/secretary/workbench/views/parts.js.rb | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/www/secretary/workbench/views/parts.js.rb 
b/www/secretary/workbench/views/parts.js.rb
index bcca669..42efe0f 100644
--- a/www/secretary/workbench/views/parts.js.rb
+++ b/www/secretary/workbench/views/parts.js.rb
@@ -22,6 +22,7 @@ class Parts < Vue
     @unreadable_scan = false
     @wrong_identity = false
     @validation_failed = false
+    @signature_not_armored = false
   end
 
   ########################################################################
@@ -194,6 +195,7 @@ class Parts < Vue
             _input type: 'hidden', name: 'unreadable_scan', value: 
@unreadable_scan
             _input type: 'hidden', name: 'wrong_identity', value: 
@wrong_identity
             _input type: 'hidden', name: 'validation_failed', value: 
@validation_failed
+            _input type: 'hidden', name: 'signature_not_armored', value: 
@signature_not_armored
 
             # Defer processing (must be part of POST block)
 
@@ -295,6 +297,13 @@ class Parts < Vue
                   _span ' gpg key validation failed'
                 end
               end
+              _li do
+                _label do
+                  _input type: 'checkbox', checked: @signature_not_armored,
+                  onClick: -> {@signature_not_armored = 
!@signature_not_armored}
+                  _span ' gpg signature not armored'
+                end
+              end
             end
 
             _label do

Reply via email to