Changeset 3071
- Timestamp:
- 01/16/08 12:04:22 (1 year ago)
- Files:
-
- estimatorplugin/0.10/estimatorplugin/templates/estimate.cs (modified) (1 diff)
- estimatorplugin/0.10/estimatorplugin/webui.py (modified) (3 diffs)
- estimatorplugin/0.10/setup.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
estimatorplugin/0.10/estimatorplugin/templates/estimate.cs
r3061 r3071 3 3 4 4 <form method="post" action="<?cs var:estimate.href ?>" > 5 5 <input type="hidden" name="id" value="<?cs var:estimate.id?>"/> 6 6 <div id="content" class="estimate"> 7 7 <div id="messages" > estimatorplugin/0.10/estimatorplugin/webui.py
r3061 r3071 10 10 from estimator import * 11 11 from trac.ticket import Ticket 12 import datetime13 from trac.util.datefmt import utc, to_timestamp 12 import time 13 14 14 15 15 class EstimationsPage(Component): … … 61 61 #there were problems if we update the same tickets comment in the same tick 62 62 # so we subtract an arbitrary tick to get around this 63 t o_timestamp(datetime.datetime.now(utc)) - 1,63 time.time() - 1, 64 64 req.authname, 65 65 "{{{\n#!html\n<del>%s</del>\n}}}" % comment]) … … 89 89 def save_from_form (self, req, addMessage): 90 90 #try: 91 92 91 args = req.args 93 92 tickets = args["tickets"] 94 id = args["id"] 93 if args.has_key("id"): 94 id = args['id'] 95 else: 96 id = None 95 97 old_tickets = None 96 98 if id == None or id == '' : estimatorplugin/0.10/setup.py
r3060 r3071 13 13 Produce Detailed Range Based Estimations 14 14 """, 15 package_data={PACKAGE : ['templates/*. html', 'htdocs/*']},15 package_data={PACKAGE : ['templates/*.cs', 'htdocs/*']}, 16 16 entry_points={'trac.plugins': '%s = %s' % (PACKAGE, PACKAGE)}, 17 17 )
