Changes between Version 7 and Version 8 of ArbitraryOptionsPlugin


Ignore:
Timestamp:
Nov 24, 2015, 3:25:50 PM (8 years ago)
Author:
figaro
Comment:

Cosmetic changes

Legend:

Unmodified
Added
Removed
Modified
  • ArbitraryOptionsPlugin

    v7 v8  
    11[[PageOutline(2-5,Contents,pullout)]]
    22
    3 = Arbitrary Options Plugin
     3= Pass configuration options to Trac templates
    44
    55== Description
     
    1313You can do this for your project listing page too, using the ArbitraryProjectPropertiesPatch.
    1414
    15 Note that this is only implemented for Genshi right now, but you could add a line or two for !ClearSilver, although this is untested.
     15Note that this is only implemented for Genshi at present, but you could add a line or two for !ClearSilver, although this is untested.
    1616
    1717== Bugs/Feature Requests
     
    2727== Download
    2828
    29 Download the zipped source from [download:arbitraryoptionsplugin here].
    30 
    31 You can also just run:
    32 {{{
    33 easy_install TracArbitraryOptionsPlugin
    34 }}}
     29Download the zipped source from [export:arbitraryoptionsplugin here].
    3530
    3631== Source
    3732
    38 You can check out ArbitraryOptionsPlugin from [http://trac-hacks.org/svn/arbitraryoptionsplugin here] using Subversion, or [source:arbitraryoptionsplugin browse the source] with Trac.
     33You can check out ArbitraryOptionsPlugin from [/svn/arbitraryoptionsplugin here] using Subversion, or [source:arbitraryoptionsplugin browse the source] with Trac.
    3934
    4035== Installation
    4136
    4237General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page.
     38
     39You can also just run:
     40{{{#!sh
     41$ easy_install TracArbitraryOptionsPlugin
     42}}}
    4343
    4444== Example
     
    6161You could iterate over your whole projects list like this:
    6262{{{
    63 <li py:for='proj in projects' py:if='proj.name != project.name and proj.info.get("status") == "primary"'>
    64     <a href='/${proj.href}'>${proj.name}</a>
     63<li py:for='proj in projects' py:if='proj.name != project.name and proj.info.get("status") == "primary">
     64    <a href='/${proj.href}'>${proj.name}</a>;
    6565&lt;/li&gt;
    6666}}}
    6767
    68 See also http://www.siafoo.net/snippet/276 for information.
     68See also http://www.siafoo.net/snippet/276 for more information.
    6969
    7070See http://projects.icapsid.net/adjector for a usage example.