Add reference to guide for /newticket

This commit is contained in:
Rainer Müller
2016-08-30 17:43:40 +02:00
committed by root
parent f0ff91edd4
commit cc067a669a
2 changed files with 42 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
/* MacPorts Ticket Guide Links */
.macports-ticket-guide {
text-align: center;
color: red;
font-weight: bold;
font-size: 1.2em;
}
.macports-ticket-guide a {
color: #990000;
font-size: 1.2em;
}
+30
View File
@@ -0,0 +1,30 @@
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:py="http://genshi.edgewall.org/"
py:strip="">
<!--!
This file allows customizing the appearance of the Trac installation.
Add your customizations here and rename the file to site.html. Note that
it will take precedence over a global site.html placed in the directory
specified by [inherit] templates_dir.
More information about site appearance customization can be found here:
http://trac.edgewall.org/wiki/TracInterfaceCustomization#SiteAppearance
-->
<head py:match="head" py:attrs="select('@*')">
${select('*|comment()|text()')}
<link rel="stylesheet" href="${href.chrome('site/style.css')}" />
</head>
<form py:match="div[@id='content' and @class='ticket']/form" py:attrs="select('@*')">
<div class="macports-ticket-guide">
Please read the
<a href="http://guide.macports.org/#project.tickets">Ticket Guidelines</a>
before submitting!
</div>
${select('*')}
</form>
</html>