whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Link to original website
Date Mon, 01 May 2017 16:06:34 GMT
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  f9419cd   Link to original website
f9419cd is described below

commit f9419cde3820c393d7305b9d72a5c52a52fd39fe
Author: Sebb <sebb@apache.org>
AuthorDate: Mon May 1 17:06:32 2017 +0100

    Link to original website
---
 www/site.cgi | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/www/site.cgi b/www/site.cgi
index c0443ed..c9eacb3 100755
--- a/www/site.cgi
+++ b/www/site.cgi
@@ -108,7 +108,9 @@ _html do
         # details for an individual project
         project = $1
         links = sites[project]
-        _h2 sites[project]['display_name']
+        _h2 do
+          _a links['display_name'], href: links['uri']
+        end
         _table.table.table_striped do
           _tbody do
             cols.each do |col|
@@ -127,7 +129,9 @@ _html do
           _tbody do
 	    sites.each do |n, links|
               _tr class: label(analysis, links, col, n) do
-                _td links['display_name']
+                _td do 
+                  _a links['display_name'], href: links['uri']
+                end
                 _td links[col]
               end
             end

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

Mime
View raw message