You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@attic.apache.org by se...@apache.org on 2021/07/14 12:21:52 UTC
svn commit: r1891537 - /attic/site/xdocs/scripts/attic_filter.lua
Author: sebb
Date: Wed Jul 14 12:21:51 2021
New Revision: 1891537
URL: http://svn.apache.org/viewvc?rev=1891537&view=rev
Log:
Simplify: we don't need name in banner
Modified:
attic/site/xdocs/scripts/attic_filter.lua
Modified: attic/site/xdocs/scripts/attic_filter.lua
URL: http://svn.apache.org/viewvc/attic/site/xdocs/scripts/attic_filter.lua?rev=1891537&r1=1891536&r2=1891537&view=diff
==============================================================================
--- attic/site/xdocs/scripts/attic_filter.lua (original)
+++ attic/site/xdocs/scripts/attic_filter.lua Wed Jul 14 12:21:51 2021
@@ -18,16 +18,16 @@ function output_filter(r)
-- add header:
-- get TLP part of hostname
local host = r.hostname:match("^([^.]+)")
- -- Prettify (TODO: look up real name)
- local name = host:gsub("^%l", string.upper)
+
local sty1 = 'font-size:x-large;padding:15px;color:white;background:red;' ;
local sty2 = 'color:white;text-decoration:underline' ;
local div = ([[
<div style='%s'>
- Project <i>%s</i> has retired. For details please refer to its
+ This project has retired. For details please refer to its
<a style='%s' href="https://attic.apache.org/projects/%s.html">
Attic page</a>.
- </div>]]):format(sty1, name, sty2, host)
+ </div>]]):format(sty1, sty2, host)
+
-- special processing needed for some hosts
if host == 'predictionio' or host == 'eagle' or host == 'metamodel'
then