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 2017/10/25 15:51:55 UTC

[whimsy] branch master updated: Make project selection list for grants and cclas

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 ca86d63  Make project selection list for grants and cclas
ca86d63 is described below

commit ca86d6376562bcc2a342ca58ce7bd007d6027781
Author: Craig L Russell <cr...@oracle.com>
AuthorDate: Wed Oct 25 08:51:59 2017 -0700

    Make project selection list for grants and cclas
---
 www/secretary/workbench/views/forms/ccla.js.rb  | 7 ++++++-
 www/secretary/workbench/views/forms/grant.js.rb | 7 ++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/www/secretary/workbench/views/forms/ccla.js.rb b/www/secretary/workbench/views/forms/ccla.js.rb
index 2f7a0ad..ab2a51e 100644
--- a/www/secretary/workbench/views/forms/ccla.js.rb
+++ b/www/secretary/workbench/views/forms/ccla.js.rb
@@ -69,7 +69,12 @@ class CCLA < Vue
         _tr do
           _th 'Project'
           _td do
-            _input name: 'project', value: @project, disabled: @filed
+            _select name: 'project', value: @project, disabled: @filed do
+              _option ''
+              @@projects.each do |project|
+                _option project
+              end
+            end
           end
         end
       end
diff --git a/www/secretary/workbench/views/forms/grant.js.rb b/www/secretary/workbench/views/forms/grant.js.rb
index b1ffed8..77d1b67 100644
--- a/www/secretary/workbench/views/forms/grant.js.rb
+++ b/www/secretary/workbench/views/forms/grant.js.rb
@@ -59,7 +59,12 @@ class Grant < Vue
         _tr do
           _th 'Project'
           _td do
-            _input name: 'project', value: @project, disabled: @filed
+            _select name: 'project', value: @project, disabled: @filed do
+              _option ''
+              @@projects.each do |project|
+                _option project
+              end
+            end
           end
         end
       end

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