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/10/21 15:03:58 UTC
[whimsy] branch master updated: unnecessary interpolation
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 f8fcfae unnecessary interpolation
f8fcfae is described below
commit f8fcfaea3a48bb09e94ca88425bcf170a199716f
Author: Sebb <se...@apache.org>
AuthorDate: Wed Oct 21 16:03:49 2020 +0100
unnecessary interpolation
---
www/foundation/orgchart.cgi | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/www/foundation/orgchart.cgi b/www/foundation/orgchart.cgi
index a24e6b9..af52d2a 100755
--- a/www/foundation/orgchart.cgi
+++ b/www/foundation/orgchart.cgi
@@ -72,10 +72,10 @@ def emit_role(role: {}, oversees: {}, desc: {})
end
_ol.breadcrumb do
_li do
- _a 'OrgChart', href: "#{URLROOT}"
+ _a 'OrgChart', href: URLROOT
end
_li.active do
- _ "#{role['info']['role']}"
+ _ role['info']['role']
end
end
_whimsy_panel_table(
@@ -198,12 +198,12 @@ _html do
_ 'Sorry, the URL you attempted to access '
_code request
_ ' is not a valid role.'
- _a 'Go back to the orgchart', href: "#{URLROOT}"
+ _a 'Go back to the orgchart', href: URLROOT
end
end
else
_p "DEBUG: You may be running this script from the command line."
- _a 'Go back to the orgchart', href: "#{URLROOT}"
+ _a 'Go back to the orgchart', href: URLROOT
end
end
end