Changeset 5152 for main


Ignore:
Timestamp:
13 Apr 2010, 16:44:45 (15 years ago)
Author:
uli
Message:

Add a button base for search buttons.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/viewlets.py

    r5083 r5152  
    136136    text = 'Add'
    137137
     138class SearchActionButton(ActionButton):
     139    """A base for 'search' buttons.
     140    """
     141    grok.baseclass()
     142    grok.order(5)
     143    grok.require('waeup.manageUniversity')
     144    icon = 'actionicon_search.png'
     145    target = 'search'
     146    text = 'Search'
     147
    138148
    139149#
Note: See TracChangeset for help on using the changeset viewer.