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/05/13 00:50:14 UTC
[whimsy] branch master updated: make send email button more visible
to the owner if report is present and there is no comments yet
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 0806c19 make send email button more visible to the owner if report is present and there is no comments yet
0806c19 is described below
commit 0806c191e27e24ebc73aed98e5a4f8611545710e
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Sat May 12 20:49:45 2018 -0400
make send email button more visible to the owner if
report is present and there is no comments yet
---
www/board/agenda/views/buttons/email.js.rb | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/www/board/agenda/views/buttons/email.js.rb b/www/board/agenda/views/buttons/email.js.rb
index d13f032..f79cc31 100644
--- a/www/board/agenda/views/buttons/email.js.rb
+++ b/www/board/agenda/views/buttons/email.js.rb
@@ -16,6 +16,11 @@ class Email < Vue
User.firstname.start_with? @@item.shepherd.downcase()
then
return 'btn-primary'
+ elsif
+ @@item.owner == Server.username and not @@item.missing and
+ @@item.comments.empty?
+ then
+ return 'btn-primary'
else
return 'btn-link'
end
--
To stop receiving notification emails like this one, please contact
rubys@apache.org.