whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject [whimsy] branch master updated: drop now redundant upload signature button
Date Sun, 02 Oct 2016 16:33:36 GMT
This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/whimsy.git

The following commit(s) were added to refs/heads/master by this push:
       new  1d21100   drop now redundant upload signature button
1d21100 is described below

commit 1d21100f527a4767a9a07d71c22afb65c515781e
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Sun Oct 2 12:33:07 2016 -0400

    drop now redundant upload signature button
---
 www/secmail/views/check-signature.js.rb | 21 ---------------------
 1 file changed, 21 deletions(-)

diff --git a/www/secmail/views/check-signature.js.rb b/www/secmail/views/check-signature.js.rb
index 26f6939..a2bae6b 100644
--- a/www/secmail/views/check-signature.js.rb
+++ b/www/secmail/views/check-signature.js.rb
@@ -11,13 +11,6 @@ class CheckSignature < React
   def render
     if @signature
       _div.alert @alert, class: @flag
-
-      if @alert.include? 'public key not found'
-        _div.buttons do
-          _button.btn.btn_primary 'email user requesting upload',
-            onClick: self.request_upload
-        end
-      end
     end
   end
 
@@ -78,18 +71,4 @@ class CheckSignature < React
 
     return signature
   end
-
-  # send an email requesting that the user upload their signature
-  def request_upload()
-    destination = @@headers.From
-    subject = "Re: #{@@headers.Subject}"
-    body = "Dear #{@@headers.name},\n\n" +
-      "Can you please upload your public key?\n\n" + 
-      "http://apache.org/licenses/#submitting\n\n" +
-      "Regards,\n\n"
-
-    window.location = "mailto:#{encodeURIComponent(destination)}" +
-      "?subject=#{encodeURIComponent(subject)}" +
-      "&body=#{encodeURIComponent(body)}"
-  end
 end

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

Mime
View raw message