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: show something if there is nothing to do
Date Sun, 01 Apr 2018 20:50:19 GMT
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 7212ce0  show something if there is nothing to do
7212ce0 is described below

commit 7212ce044f36a18efd57d29b32818d598b4a8c64
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Sun Apr 1 16:50:05 2018 -0400

    show something if there is nothing to do
---
 www/board/agenda/views/pages/feedback.js.rb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/www/board/agenda/views/pages/feedback.js.rb b/www/board/agenda/views/pages/feedback.js.rb
index 061dd1a..91d1008 100644
--- a/www/board/agenda/views/pages/feedback.js.rb
+++ b/www/board/agenda/views/pages/feedback.js.rb
@@ -13,7 +13,9 @@ class Feedback < Vue
 
   def render
     if @list == nil
-      _p 'loading'
+      _h2 'Loading...'
+    elsif @list.empty?
+      _h2 'No feedback to send'
     else
       @list.each do |item|
         _h2 do

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

Mime
View raw message