attic-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r1891538 - /attic/site/docs/scripts/attic_filter.lua
Date Wed, 14 Jul 2021 12:22:01 GMT
Author: buildbot
Date: Wed Jul 14 12:22:01 2021
New Revision: 1891538

URL: http://svn.apache.org/viewvc?rev=1891538&view=rev
Log:
Automatic Site Publish by Buildbot

Modified:
    attic/site/docs/scripts/attic_filter.lua

Modified: attic/site/docs/scripts/attic_filter.lua
URL: http://svn.apache.org/viewvc/attic/site/docs/scripts/attic_filter.lua?rev=1891538&r1=1891537&r2=1891538&view=diff
==============================================================================
--- attic/site/docs/scripts/attic_filter.lua (original)
+++ attic/site/docs/scripts/attic_filter.lua Wed Jul 14 12:22:01 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



Mime
View raw message