[Adium-commits] www/trac.adiumx.com 28:f8a60b08c1ab: Disabled TracMercurial for ...

adium-commits at adiumx.com adium-commits at adiumx.com
Sat May 2 01:27:40 UTC 2009


details:	http://hg.adiumx.com/www/trac.adiumx.com/rev/f8a60b08c1ab
revision:	28:f8a60b08c1ab
author:		Zachary West <zacw at adiumx.com>
date:		Fri May 01 21:27:35 2009 -0400

Disabled TracMercurial for performance reasons (it does no caching, this is significant).

Put a message at the top of the timeline indicating where to find commits, both hgweb and the google groups mirror of the adium-commits mailing list (easier for web browsing).
Changed comments to use Genshi comments so they aren't displayed in the output code.

diffstat:

 templates/site.html |  19 ++++++++++++++-----
 1 files changed, 14 insertions(+), 5 deletions(-)

diffs (47 lines):

diff -r e8cf53ed4887 -r f8a60b08c1ab templates/site.html
--- a/templates/site.html	Thu Apr 30 14:19:56 2009 -0700
+++ b/templates/site.html	Fri May 01 21:27:35 2009 -0400
@@ -11,13 +11,13 @@
 
   <body py:match="body" py:attrs="select('@*')">
 	
-<!-- Strip the banner/user-specific nav, we duplicate it later in our own way. -->
+<!--! Strip the banner/user-specific nav, we duplicate it later in our own way. -->
 <div py:match="div[@id='banner']" py:content="None" py:strip="True"></div>
 
-<!-- Strip the trac footer; the about link in the meta nav is sufficient. -->
+<!--! Strip the trac footer; the about link in the meta nav is sufficient. -->
 <div py:match="div[@id='footer']" py:content="None" py:strip="True"></div>
 
-<!-- Message on top of new tickets -->
+<!--! Message on top of new tickets -->
 <form py:match="div[@id='content' and @class='ticket']/form" py:attrs="select('@*')">
   <py:if test="req.environ['PATH_INFO'] == '/newticket' and (not 'preview' in req.args)">
 	<div id="newticketguide">
@@ -29,7 +29,7 @@
   ${select('*')} 
 </form>
 
-<!-- Last modified at the end of wiki pages -->
+<!--! Last modified at the end of wiki pages -->
 <div py:match="div[@id='content' and @class='wiki']" py:attrs="select('@*')">
   ${select('*|text()')}
   <py:if test="not version and not action and page and page.exists">
@@ -37,7 +37,16 @@
   </py:if>
 </div>
 
-<!-- Register to create a ticket -->
+<!--! Message on top of new timeline for hgweb -->
+<div py:match="div[@id='content' and @class='timeline']" py:attrs="select('@*')">
+  ${select('h1')}
+  <p>To follow repository activity, use <a href="http://hg.adiumx.com">hg.adiumx.com</a> or
+   <a href="http://groups.google.com/group/adium-commits">the commits list</a>. Commits no longer show up in the timeline.</p>
+  <h1 py:match="h1" py:strip="true"></h1>
+  ${select('*')}
+</div>
+
+<!--! Register to create a ticket -->
 <p py:match="div[@id='content' and @class='error']/p[@class='message']" py:attrs="select('@*')" py:with="message=select('*|text()')">
   <py:choose>
     <py:when test="str(message).strip() == 'TICKET_CREATE privileges are required to perform this operation'">




More information about the commits mailing list