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 2022/02/03 13:41:31 UTC

[whimsy] branch master updated (d66c700 -> d31894f)

This is an automated email from the ASF dual-hosted git repository.

sebb pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git.


    from d66c700  Allocate emails to archivers
     new d04701c  Fix relative links
     new d31894f  Try again

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 www/members/archivers.cgi | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

[whimsy] 01/02: Fix relative links

Posted by se...@apache.org.
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

commit d04701c936866a58250883ddc458231bf57ed632
Author: Sebb <se...@apache.org>
AuthorDate: Thu Feb 3 13:38:50 2022 +0000

    Fix relative links
---
 www/members/archivers.cgi | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/www/members/archivers.cgi b/www/members/archivers.cgi
index 8cc2e7a..3767837 100755
--- a/www/members/archivers.cgi
+++ b/www/members/archivers.cgi
@@ -39,6 +39,13 @@ def showdets(text)
   end
 end
 
+# Fix relative links
+if env['REQUEST_URI'] =~ 'archivers(\.cgi)?/'
+  href_pfx = '.'
+else
+  href_pfx = 'members'
+end
+
 _html do
   _body? do
     _whimsy_body(
@@ -75,19 +82,19 @@ _html do
           unless show_all or show_mailarchive
             _b 'issues (ignoring missing mail-archive subscriptions)'
           else
-            _a 'issues (ignoring missing mail-archive subscriptions)', href: './'
+            _a 'issues (ignoring missing mail-archive subscriptions)', href: "#{href_pfx}/"
           end
           _ ' | '
           if show_mailarchive
             _b 'issues including missing mail-archive subscriptions'
           else
-            _a 'issues including missing mail-archive subscriptions', href: './mail-archive'
+            _a 'issues including missing mail-archive subscriptions', href: "#{href_pfx}/mail-archive"
           end
           _ ' | '
           if show_all
             _b 'details for all lists'
           else
-            _a 'details for all lists', href: './all'
+            _a 'details for all lists', href: "#{href_pfx}/all"
           end
         end
       }

[whimsy] 02/02: Try again

Posted by se...@apache.org.
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

commit d31894f583f55657b14f1d3000b7abae7cef7bb2
Author: Sebb <se...@apache.org>
AuthorDate: Thu Feb 3 13:41:24 2022 +0000

    Try again
---
 www/members/archivers.cgi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/members/archivers.cgi b/www/members/archivers.cgi
index 3767837..9cafa2d 100755
--- a/www/members/archivers.cgi
+++ b/www/members/archivers.cgi
@@ -43,7 +43,7 @@ end
 if env['REQUEST_URI'] =~ 'archivers(\.cgi)?/'
   href_pfx = '.'
 else
-  href_pfx = 'members'
+  href_pfx = 'archivers'
 end
 
 _html do