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 2016/04/19 20:24:30 UTC

[whimsy] branch master updated: hide feedback button until draft minutes are ready

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  9766c49   hide feedback button until draft minutes are ready
9766c49 is described below

commit 9766c49e32e4e40ef59435acda46915fb82ef7de
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Tue Apr 19 14:24:09 2016 -0400

    hide feedback button until draft minutes are ready
---
 www/board/agenda/views/models/agenda.js.rb | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/www/board/agenda/views/models/agenda.js.rb b/www/board/agenda/views/models/agenda.js.rb
index 642d3eb..a25d3bf 100644
--- a/www/board/agenda/views/models/agenda.js.rb
+++ b/www/board/agenda/views/models/agenda.js.rb
@@ -187,11 +187,10 @@ class Agenda
 
     if Server.role == :secretary 
       if Server.drafts.include? Agenda.file.sub('agenda', 'minutes')
+        list << {button: SendFeedback}
         list << {form: PublishMinutes}
       elsif Minutes.ready_to_post_draft
         list << {form: DraftMinutes}
-      else
-        list << {button: SendFeedback}
       end
     end
 
@@ -392,7 +391,7 @@ class Agenda
       elsif @title == 'Adjournment' 
         if Minutes.ready_to_post_draft
           list << {form: DraftMinutes}
-        else
+        elsif Server.drafts.include? Agenda.file.sub('agenda', 'minutes')
           list << {button: SendFeedback}
         end
       end

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