r214 - in trunk: admin-trac.openmoko.org/space_trac_admin-trac/templates docs.openmoko.org/space_trac_docs-trac/templates
roh at daksha.openmoko.org
roh at daksha.openmoko.org
Mon Apr 7 16:29:44 CEST 2008
Author: roh
Date: 2008-04-07 14:29:43 +0000 (Mon, 07 Apr 2008)
New Revision: 214
Modified:
trunk/admin-trac.openmoko.org/space_trac_admin-trac/templates/site.html
trunk/docs.openmoko.org/space_trac_docs-trac/templates/site.html
Log:
- add comment above the new ticket box to search the bugs first and to use the admin-trac for infrastructure bugs
Modified: trunk/admin-trac.openmoko.org/space_trac_admin-trac/templates/site.html
===================================================================
--- trunk/admin-trac.openmoko.org/space_trac_admin-trac/templates/site.html 2008-04-07 12:16:25 UTC (rev 213)
+++ trunk/admin-trac.openmoko.org/space_trac_admin-trac/templates/site.html 2008-04-07 14:29:43 UTC (rev 214)
@@ -7,29 +7,28 @@
</head>
<body py:match="body" py:attrs="select('@*')">
- <!--! Add site-specific header -->
<div id="siteheader">
- <!--! Place your header content here... -->
-
-
- <div id="main_navigation">
- <ul>
- <li><a href="http://www.openmoko.org/" class="nav_home"><span>Home</span></a></li>
- <li><a href="http://wiki.openmoko.org/" class="nav_wiki"><span>Wiki</span></a></li>
- <li><a href="http://docs.openmoko.org/" class="nav_docs"><span>Docs</span></a></li>
- <li><a href="http://planet.openmoko.org/" class="nav_planet"><span>Planet</span></a></li>
- <li><a href="http://projects.openmoko.org/" class="nav_projects"><span>Projects</span></a></li>
- <li><a href="http://lists.openmoko.org/" class="nav_lists"><span>Lists</span></a></li>
- </ul>
- </div>
-
+ <div id="main_navigation">
+ <ul>
+ <li><a href="http://www.openmoko.org/" class="nav_home"><span>Home</span></a></li>
+ <li><a href="http://wiki.openmoko.org/" class="nav_wiki"><span>Wiki</span></a></li>
+ <li><a href="http://docs.openmoko.org/" class="nav_docs"><span>Docs</span></a></li>
+ <li><a href="http://planet.openmoko.org/" class="nav_planet"><span>Planet</span></a></li>
+ <li><a href="http://projects.openmoko.org/" class="nav_projects"><span>Projects</span></a></li>
+ <li><a href="http://lists.openmoko.org/" class="nav_lists"><span>Lists</span></a></li>
+ </ul>
+ </div>
</div>
-<div id="restfnord">
- ${select('*|text()')}
-</div>
- <!--! Add site-specific footer -->
+ <div id="restfnord">
+ ${select('*|text()')}
+ </div>
<div id="sitefooter">
- <!--! Place your footer content here... -->
</div>
</body>
+ <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)">
+ <p>Please make sure to search for existing tickets before reporting a new one!</p>
+ </py:if>
+ ${select('*')}
+ </form>
</html>
Modified: trunk/docs.openmoko.org/space_trac_docs-trac/templates/site.html
===================================================================
--- trunk/docs.openmoko.org/space_trac_docs-trac/templates/site.html 2008-04-07 12:16:25 UTC (rev 213)
+++ trunk/docs.openmoko.org/space_trac_docs-trac/templates/site.html 2008-04-07 14:29:43 UTC (rev 214)
@@ -7,28 +7,29 @@
</head>
<body py:match="body" py:attrs="select('@*')">
- <!--! Add site-specific header -->
<div id="siteheader">
- <!--! Place your header content here... -->
-
- <div id="main_navigation">
- <ul>
- <li><a href="http://www.openmoko.org/" class="nav_home"><span>Home</span></a></li>
- <li><a href="http://wiki.openmoko.org/" class="nav_wiki"><span>Wiki</span></a></li>
- <li><a href="http://docs.openmoko.org/" class="nav_docs selected"><span>Docs</span></a></li>
- <li><a href="http://planet.openmoko.org/" class="nav_planet"><span>Planet</span></a></li>
- <li><a href="http://projects.openmoko.org/" class="nav_projects"><span>Projects</span></a></li>
- <li><a href="http://lists.openmoko.org/" class="nav_lists"><span>Lists</span></a></li>
- </ul>
- </div>
-
+ <div id="main_navigation">
+ <ul>
+ <li><a href="http://www.openmoko.org/" class="nav_home"><span>Home</span></a></li>
+ <li><a href="http://wiki.openmoko.org/" class="nav_wiki"><span>Wiki</span></a></li>
+ <li><a href="http://docs.openmoko.org/" class="nav_docs selected"><span>Docs</span></a></li>
+ <li><a href="http://planet.openmoko.org/" class="nav_planet"><span>Planet</span></a></li>
+ <li><a href="http://projects.openmoko.org/" class="nav_projects"><span>Projects</span></a></li>
+ <li><a href="http://lists.openmoko.org/" class="nav_lists"><span>Lists</span></a></li>
+ </ul>
+ </div>
</div>
-<div id="restfnord">
- ${select('*|text()')}
-</div>
- <!--! Add site-specific footer -->
+ <div id="restfnord">
+ ${select('*|text()')}
+ </div>
<div id="sitefooter">
- <!--! Place your footer content here... -->
</div>
</body>
+ <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)">
+ <p>Please make sure to search for existing tickets before reporting a new one!</p>
+ <p>Bugs/Problems with out infrastructure (server, mailinglists, trac, wiki, etc.) should be reported in the <a href="http://admin-trac.openmoko.org/">admin-trac</a>
+ </py:if>
+ ${select('*')}
+ </form>
</html>
More information about the webdesign-commitlog
mailing list