Edgewall Software

Changes between Version 10 and Version 11 of CookBook/SiteHtml/Genshi


Ignore:
Timestamp:
Jan 10, 2015, 10:51:12 AM (9 years ago)
Author:
figaro
Comment:

Cosmetic changes

Legend:

Unmodified
Added
Removed
Modified
  • CookBook/SiteHtml/Genshi

    v10 v11  
    11= Interface Customization using site.html
    22
    3 This page intends to collect useful snippets for inclusing in a project `site.html` file. Any snippet below is intended to be included inside the standard root element of the file:
     3This page collects useful snippets for inclusion in a project `site.html` file. A snippet should reside inside the standard root element of the file:
    44
    55{{{
     
    1515}}}
    1616
    17 Remember, snippets are more useful if accompanied by a short description...
     17Ideally, snippets are accompanied by a short description.
    1818
    1919== Quicksearch for tickets only
    2020
    21 When no search filters are provided, Trac searches using all filters. This snippets adds a filter to the quicksearch that restricts searches to tickets only by default - more can of course be added by user after initial search:
     21When no search filters are provided, Trac searches using all filters. This snippets adds a filter to the quicksearch that restricts searches to tickets only by default. More can of course be added by user after initial search:
    2222
    2323{{{
     
    3434== Add licensing information when adding attachments
    3535
    36 If adding attachments to your Trac site requires people to agree to some licensing, you can add the terms of the license on the "Add attachments" page as follows:
     36If adding attachments to your Trac site requires people to agree to some licensing terms, you can add the terms of the license on the "Add attachments" page as follows:
    3737
    3838{{{#!xml
    3939<py:match path="form[@id='attachment']/div[@class='buttons']" once="true">
    4040  <p>By submitting a file here, you accept that we can do whatever
    41      we want with it, blah blah...</p>
     41     we want with it...</p>
    4242  <div py:attrs="select('@*')">
    4343    ${select('*|comment()|text()')}
     
    6060}}}
    6161
     62== Replace footer
    6263
    63 == Replace footer
    64 If you want to change the default footer, this snippet strips out the current one and puts in my own.  Tested with 1.0.1.  Apologies for the formatting.
    65 
     64If you want to change the default footer, this snippet strips out the current one and puts in my own. Tested with 1.0.1.
    6665{{{#!xml
    6766  <!--! Replace standard footer with a site-specific footer -->
     
    7069        <hr />
    7170      <a id="tracpowered" href="http://www.tnky.ca/"><img src="http://www.tnky.ca/TAI_tag.jpg"
    72          style="border: none; height: 98px; width: 185px; " alt="TAI Powered" /></a>
     71         style="border: none; height: 98px; width: 185px;" alt="TAI Powered" /></a>
    7372      <p class="left">Base Software is <a href="/about"><strong>Trac 1.0.1</strong></a><br />
    7473        By Edgewall Software.</p>
     
    8079
    8180
    82 
    8381----
    8482See also: TracInterfaceCustomization, SiteStyleCss