On Tue, Aug 19, 2014 at 7:48 PM, Ryan Ollos <[email protected]> wrote:

> Note you could also improve the code a bit if it is indeed true that the
> "Project name matches the text displayed on the navigation item", and
> you've also set the URL for the project in the [project] section of trac.ini
>
>          <li class="${project.name=='CLS West Sacramento' and 'active' or
> None}">
>            <a href="$project.url">$project.name</a>
>          </li>
>
> That could make things a bit cleaner. I haven't tested that, so make one
> change at a time and watch out for stupid errors I might have made in
> typing this out ;)
>

Sorry, ignore this last part. It would only work if we had a list of all
the projects.

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to