Changeset 2998
- Timestamp:
- 01/08/08 02:54:49 (11 months ago)
- Files:
-
- voteplugin/0.11/tracvote/__init__.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
voteplugin/0.11/tracvote/__init__.py
r2970 r2998 5 5 from trac.web.api import IRequestFilter, IRequestHandler, Href 6 6 from trac.web.chrome import ITemplateProvider, add_ctxtnav, add_stylesheet, \ 7 add_script, add_ warning7 add_script, add_notice 8 8 from trac.resource import get_resource_url 9 9 from trac.db import DatabaseManager, Table, Column … … 167 167 shown = req.session.get('shown_vote_message') 168 168 if not shown: 169 add_ warning(req, 'You can vote for resources on this Trac '170 'install by clicking the up-vote/down-vote arrows '171 'in the context navigation bar.')169 add_notice(req, 'You can vote for resources on this Trac ' 170 'install by clicking the up-vote/down-vote arrows ' 171 'in the context navigation bar.') 172 172 req.session['shown_vote_message'] = True 173 173 body, title = self.format_votes(resource)
