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/06/29 21:15:44 UTC

[whimsy] branch master updated: Eliminate magic URLs

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 9449288  Eliminate magic URLs
9449288 is described below

commit 94492886960ee9c9b398413029f6bb8df3f717e4
Author: Sebb <se...@apache.org>
AuthorDate: Mon Jun 29 22:15:35 2020 +0100

    Eliminate magic URLs
---
 www/board/agenda/views/new.html.rb | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/www/board/agenda/views/new.html.rb b/www/board/agenda/views/new.html.rb
index ca56245..3f5e3c2 100644
--- a/www/board/agenda/views/new.html.rb
+++ b/www/board/agenda/views/new.html.rb
@@ -14,7 +14,7 @@ _html do
         _div.error do
           _h4 'No next meeting date set'
           _a 'committers/board/calendar.txt',
-             href: 'https://svn.apache.org/repos/private/committers/board/calendar.txt'
+             href: ASF::SVN.svnpath!('board', 'calendar.txt')
           _span ' needs to be updated in svn with a list of future meeting dates.'
           _span ' Assuming third Wednesday of the month for the next meeting.'
         end
@@ -53,15 +53,12 @@ _html do
     _ul do
       _li do
         _ 'Agenda was generated from '
-        _a 'board_agenda_template.erb', href:
-          'https://svn.apache.org/repos/private/foundation/board/board_agenda_template.erb'
+        _a 'board_agenda.erb', href: ASF::SVN.svnpath!('foundation_board', '/templates/board_agenda.erb')
       end
 
       _li do
         _ 'Date and time of meeting was extracted from '
-        _a 'calendar.txt', href:
-          'https://svn.apache.org/repos/private/committers/board/calendar.txt
-'
+        _a 'calendar.txt', href: ASF::SVN.svnpath!('board', 'calendar.txt')
       end
 
       _li do
@@ -71,8 +68,7 @@ _html do
 
       _li do
         _ 'Officers extracted from '
-        _a 'committee-info.txt', href:
-          'https://svn.apache.org/repos/private/committers/board/committee-info.txt'
+        _a 'committee-info.txt', href: ASF::SVN.svnpath!('board', 'committee-info.txt')
       end
     end
   end