You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by cu...@apache.org on 2017/04/28 14:56:23 UTC

[whimsy] branch master updated: Deprecate old /test versions

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

curcuru 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  0c8aaf7   Deprecate old /test versions
0c8aaf7 is described below

commit 0c8aaf74716ebbaca749c0ee3bf1d50ed5dd3027
Author: Shane Curcuru <as...@shanecurcuru.org>
AuthorDate: Fri Apr 28 10:56:18 2017 -0400

    Deprecate old /test versions
---
 www/test/apachecon.cgi   | 8 ++++++--
 www/test/conferences.cgi | 7 ++++++-
 2 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/www/test/apachecon.cgi b/www/test/apachecon.cgi
index 7ffef79..11c0ce7 100755
--- a/www/test/apachecon.cgi
+++ b/www/test/apachecon.cgi
@@ -6,7 +6,7 @@ require 'whimsy/asf'
 require 'wunderbar'
 require 'wunderbar/bootstrap'
 
-PAGETITLE = 'ApacheCon Historical Listing'
+PAGETITLE = 'ApacheCon Historical Listing - DEPRECATED'
 ifields = {
   'SessionList'	=> 'glyphicon_th_list',
   'SlideArchive' => 'glyphicon_file',
@@ -23,7 +23,11 @@ _html do
     history.sub! "\uFEFF", '' # remove Zero Width No-Break Space
     csv = CSV.parse(history, headers:true)
     _whimsy_content do
-      _p 'Past ApacheCons include:'
+      _p do 
+        _ 'THIS PAGE IS DEPRECATED - please see '
+        _a '/events/past', href: 'https://whimsy.apache.org/events/past'
+        _ 'instead. Past ApacheCons include:'
+      end
       _ul do
         csv.each do |r|
           _li do
diff --git a/www/test/conferences.cgi b/www/test/conferences.cgi
index 384e3f3..841d62b 100755
--- a/www/test/conferences.cgi
+++ b/www/test/conferences.cgi
@@ -8,7 +8,7 @@ require 'wunderbar/jquery/stupidtable'
 require 'whimsy/asf/themes'
 require 'date'
 
-PAGETITLE = 'FOSS Conference Listings'
+PAGETITLE = 'FOSS Conference Listings - DEPRECATED'
 
 _html do
   _body? do
@@ -16,6 +16,11 @@ _html do
     
     conflist = JSON.parse(Net::HTTP.get(URI('https://raw.githubusercontent.com/afilina/dev-community-data/master/data/conferences.json')))
     _whimsy_content do
+      _p do 
+        _ 'THIS PAGE IS DEPRECATED - please see '
+        _a '/events/other', href: 'https://whimsy.apache.org/events/other'
+        _ 'instead!'
+      end
       _div.row do
         _div.col_sm_10 do
           _div.panel.panel_primary do

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