On Jan 28, 7:33 pm, osimons <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
>
> > On 28 jan, 14:49, osimons <[EMAIL PROTECTED]> wrote:
> > > There is an example snippet for including in a project templates/
> > > site.html at:
>
> > >http://trac.edgewall.org/wiki/TracInterfaceCustomization#SiteAppearance
> Save the following content as 'site.html' inside your projects
> templates directory (each Trac project can have their own site.html),
> or in a shared location as specified by the '[inherit] templates_dir
> =' setting in the project trac.ini:
>
> ==== Start cut
>
> <html xmlns="http://www.w3.org/1999/xhtml"
> xmlns:py="http://genshi.edgewall.org/"
> xmlns:xi="http://www.w3.org/2001/XInclude"
> py:strip="">
>
> <!--! Add modification sections below -->
>
> </html>
>
> ===== End cut
>
Oops. Seems I shortened and changed the orgiginal from
TracInterfaceCustomisation a bit too much... I also chops the Ticket
properties form when viewing tickets... :-)
For reference, here is the full (working) section as found on t.e.o -
put this inside the site.html <html> tag instead:
<form py:match="[EMAIL PROTECTED]'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>
:::simon
https://www.coderesort.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---