source: ticketsidebarproviderplugin/0.11/ticketsidebarprovider/interface.py

Last change on this file was 5529, checked in by Jeff Hammel, 14 years ago

initial version of TicketSidebarProviderPlugin

File size: 336 bytes
Line 
1"""
2interface to programatically provide custom ticket fields
3"""
4
5from trac.core import Interface
6
7class ITicketSidebarProvider(Interface):
8   
9    def enabled(req, ticket):
10        """returns whether this plugin should be rendered for this ticket"""
11
12    def content(req, ticket):
13        """content to be rendered in the sidebar"""
Note: See TracBrowser for help on using the repository browser.