You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2018/04/07 22:38:15 UTC

[whimsy] branch master updated: add a mechanism for adding additional discussion items

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

rubys 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 4f5a2dd  add a mechanism for adding additional discussion items
4f5a2dd is described below

commit 4f5a2dd56fa48c5fca5ff244cd18f69cd8887274
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Sat Apr 7 18:37:56 2018 -0400

    add a mechanism for adding additional discussion items
---
 www/board/agenda/views/buttons/post.js.rb | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/www/board/agenda/views/buttons/post.js.rb b/www/board/agenda/views/buttons/post.js.rb
index 399584f..284f5da 100644
--- a/www/board/agenda/views/buttons/post.js.rb
+++ b/www/board/agenda/views/buttons/post.js.rb
@@ -44,13 +44,18 @@ class Post < Vue
           end
   
           _li do
-            _button.btn.btn_primary 'Out of Cycle Report', onClick: selectItem
+            _button.btn.btn_primary 'New Resolution', onClick: selectItem
+            _ '- free form entry of a new resolution'
+          end
+  
+          _li do
+            _button.btn.btn_info 'Out of Cycle Report', onClick: selectItem
             _ '- report from a PMC not currently on the agenda for this month'
           end
   
           _li do
-            _button.btn.btn_primary 'New Resolution', onClick: selectItem
-            _ '- free form entry of a new resolution'
+            _button.btn.btn_success 'Discussion Item', onClick: selectItem
+            _ '- add a discussion item to the agenda'
           end
         end
   
@@ -191,6 +196,8 @@ class Post < Vue
       initialize_terminate_project()
     elsif @button == 'Out of Cycle Report'
       initialize_out_of_cycle()
+    elsif @button == 'Discussion Item'
+      @header = 'Add Discussion Item'
     end
 
     retitle()

-- 
To stop receiving notification emails like this one, please contact
rubys@apache.org.