[mythtv-commits] Ticket #977: Add a wiki link to the new ticket
trac page
MythTV
mythtv at cvs.mythtv.org
Mon Jan 9 09:40:51 UTC 2006
#977: Add a wiki link to the new ticket trac page
------------------------------------------------+---------------------------
Reporter: willu.mailingLists at cse.unsw.edu.au | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone:
Component: mythtv | Version:
Severity: medium |
------------------------------------------------+---------------------------
The 'New Ticket' link on the trac system is very prominent. Many people
don't see the link to the TicketHowTo before they make a new ticket or
feature request. This is a patch to the trac system that adds a link to
that wiki page directly to the 'New Ticket' web page.
I made this patch on my trac system which I think is an older version to
the one used by myth. While I doubt it will apply cleanly, I suspect it
will be very easy to port.
On my system, I edited the file: /usr/share/trac/templates/newticket.cs
with the following patch:
{{{
--- newticket.cs.orig 2006-01-09 20:19:52.072614974 +1100
+++ newticket.cs 2006-01-09 20:24:27.295559059 +1100
@@ -10,6 +10,7 @@
<div id="content" class="ticket">
<h3>Create New Ticket:</h3>
+<p>Have you read the <a href="<?cs var:$trac.href.wiki
?>/TicketHowTo">Guide for submitting MythTV Feature Requests, Bugs and
Patches</a>?</p>
<form id="newticket" action="<?cs var:cgi_location ?>#preview"
method="post">
<div class="field">
<label for="reporter">Your email or username:</label><br />
}}}
I'm guessing you can just copy that one new line directly into your
instance of newticket.cs
Be well,
Will :-}
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/977>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list