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 2020/07/04 18:19:02 UTC
[whimsy] branch master updated: get icla path from server;
only say href once
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 8f97901 get icla path from server; only say href once
8f97901 is described below
commit 8f979012532c34b82d885a3928797962a1020470
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Sat Jul 4 14:18:33 2020 -0400
get icla path from server; only say href once
---
www/roster/views/iclaSearch.js.rb | 3 +--
www/roster/views/iclas.html.rb | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/www/roster/views/iclaSearch.js.rb b/www/roster/views/iclaSearch.js.rb
index 03b6650..281a712 100644
--- a/www/roster/views/iclaSearch.js.rb
+++ b/www/roster/views/iclaSearch.js.rb
@@ -90,8 +90,7 @@ class IclaSearch < Vue
_tr do
_td icla.name
_td icla.mail
- # Cannot use whimsy gem code here
- _td { _a icla.claRef, href: href: "https://svn.apache.org/repos/private/documents/iclas/#{icla.iclaFile}" }
+ _td { _a icla.claRef, href: "#{@@iclapath}/#{icla.iclaFile}" }
end
end
diff --git a/www/roster/views/iclas.html.rb b/www/roster/views/iclas.html.rb
index e46089e..c5c7e61 100644
--- a/www/roster/views/iclas.html.rb
+++ b/www/roster/views/iclas.html.rb
@@ -15,7 +15,7 @@ _html do
_div_.main!
_script src: "app.js?#{appmtime}"
_.render '#main' do
- _IclaSearch
+ _IclaSearch iclapath: `ASF::SVN.svnpath!('iclas').inspect`
end
end
end