whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject [whimsy] 01/02: don't repeat comments when viewing an old agenda
Date Thu, 07 Apr 2016 21:22:14 GMT
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

commit e6084b0b4f9f974cb8916d911b1828c10355ef64
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Thu Apr 7 17:21:29 2016 -0400

    don't repeat comments when viewing an old agenda
---
 www/board/agenda/views/elements/additional-info.js.rb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/www/board/agenda/views/elements/additional-info.js.rb b/www/board/agenda/views/elements/additional-info.js.rb
index e0ac7e6..b041fcc 100644
--- a/www/board/agenda/views/elements/additional-info.js.rb
+++ b/www/board/agenda/views/elements/additional-info.js.rb
@@ -43,6 +43,8 @@ class AdditionalInfo < React
       # historical comments
       if history and not @prefix
         for date in history
+          next if Agenda.file == "board_agenda_#{date}.txt"
+
           _h5.history do
             _span "\u2022 "
             _a date.gsub('_', '-'),

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

Mime
View raw message