You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2020/07/04 16:33:56 UTC
[whimsy] branch master updated: Cannot use whimsy gems in Ruby2js
code
This is an automated email from the ASF dual-hosted git repository.
sebb 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 8cf6976 Cannot use whimsy gems in Ruby2js code
8cf6976 is described below
commit 8cf6976553464af38ead2915934fb2c6ec5f7e18
Author: Sebb <se...@apache.org>
AuthorDate: Sat Jul 4 17:33:47 2020 +0100
Cannot use whimsy gems in Ruby2js code
---
www/roster/views/committerSearch.js.rb | 3 ++-
www/roster/views/iclaSearch.js.rb | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/www/roster/views/committerSearch.js.rb b/www/roster/views/committerSearch.js.rb
index a730556..3fb2242 100644
--- a/www/roster/views/committerSearch.js.rb
+++ b/www/roster/views/committerSearch.js.rb
@@ -137,7 +137,8 @@ class CommitterSearch < Vue
_td ''
end
if @@notinavail
- _td { _a person.claRef, href: ASF::SVN.svnpath!('iclas', person.iclaFile) }
+ # Cannot use whimsy gem code here
+ _td { _a person.claRef, href: "https://svn.apache.org/repos/private/documents/iclas/#{person.iclaFile}" }
end
end
end
diff --git a/www/roster/views/iclaSearch.js.rb b/www/roster/views/iclaSearch.js.rb
index e5cb158..03b6650 100644
--- a/www/roster/views/iclaSearch.js.rb
+++ b/www/roster/views/iclaSearch.js.rb
@@ -90,7 +90,8 @@ class IclaSearch < Vue
_tr do
_td icla.name
_td icla.mail
- _td { _a icla.claRef, href: ASF::SVN.svnpath!('iclas', icla.iclaFile) }
+ # Cannot use whimsy gem code here
+ _td { _a icla.claRef, href: href: "https://svn.apache.org/repos/private/documents/iclas/#{icla.iclaFile}" }
end
end