Changeset 3521
- Timestamp:
- 04/16/08 13:37:17 (9 months ago)
- Files:
-
- timingandestimationplugin/branches/trac0.11/setup.py (modified) (1 diff)
- timingandestimationplugin/branches/trac0.11/timingandestimationplugin/htdocs/linkifyer.js (modified) (1 diff)
- timingandestimationplugin/branches/trac0.11/timingandestimationplugin/reports.py (modified) (7 diffs)
- timingandestimationplugin/branches/trac0.11/timingandestimationplugin/statuses.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
timingandestimationplugin/branches/trac0.11/setup.py
r3398 r3521 8 8 description='Plugin to make Trac support time estimation and tracking', 9 9 keywords='trac plugin estimation timetracking', 10 version='0.6. 4',10 version='0.6.5', 11 11 url='http://www.trac-hacks.org/wiki/TimingAndEstimationPlugin', 12 12 license='http://www.opensource.org/licenses/mit-license.php', timingandestimationplugin/branches/trac0.11/timingandestimationplugin/htdocs/linkifyer.js
r2774 r3521 100 100 101 101 for(var i=0, f = null ; f = statusfields[i] ; i++){ 102 val = f.name.toUpperCase() +"=";102 val = f.name.toUpperCase().replace("_","", "g").replace(" ","","g")+"="; 103 103 if(f.getval()){ 104 104 val += f.name timingandestimationplugin/branches/trac0.11/timingandestimationplugin/reports.py
r3398 r3521 200 200 SUM(CASE WHEN totalhours.value = '' OR totalhours.value IS NULL THEN 0 201 201 ELSE CAST( totalhours.value AS DECIMAL ) END) 202 AS VARCHAR(1024)) as owner,202 AS CHAR(512)) as owner, 203 203 SUM(CASE WHEN EstimatedHours.value = '' OR EstimatedHours.value IS NULL THEN 0 204 204 ELSE CAST( EstimatedHours.value AS DECIMAL ) END) as Estimated_work, … … 238 238 SELECT __color__, __style__, ticket, summary, component ,version, severity, 239 239 milestone, status, owner, Estimated_work, Total_work, billable 240 -- ##,created, modified, -- ## Dates are formatted240 -- ## ,created, modified, -- ## Dates are formatted 241 241 ,_description_ 242 -- ## _changetime,243 -- ## _reporter242 -- ## _changetime, 243 -- ## _reporter 244 244 ,_ord 245 245 … … 288 288 SUM(CASE WHEN totalhours.value = '' OR totalhours.value IS NULL THEN 0 289 289 ELSE CAST( totalhours.value AS DECIMAL ) END) 290 AS VARCHAR(1024)) as owner,290 AS CHAR(512)) as owner, 291 291 SUM(CASE WHEN EstimatedHours.value = '' OR EstimatedHours.value IS NULL THEN 0 292 292 ELSE CAST( EstimatedHours.value AS DECIMAL ) END) as Estimated_work, … … 375 375 SUM(CASE WHEN totalhours.value = '' OR totalhours.value IS NULL THEN 0 376 376 ELSE CAST( totalhours.value AS DECIMAL ) END) 377 AS VARCHAR(1024)) as owner,377 AS CHAR(512)) as owner, 378 378 SUM(CASE WHEN EstimatedHours.value = '' OR EstimatedHours.value IS NULL THEN 0 379 379 ELSE CAST( EstimatedHours.value AS DECIMAL ) END) as Estimated_work, … … 462 462 SUM(CASE WHEN totalhours.value = '' OR totalhours.value IS NULL THEN 0 463 463 ELSE CAST( totalhours.value AS DECIMAL ) END) 464 AS VARCHAR(1024)) as owner,464 AS CHAR(512)) as owner, 465 465 SUM(CASE WHEN EstimatedHours.value = '' OR EstimatedHours.value IS NULL THEN 0 466 466 ELSE CAST( EstimatedHours.value AS DECIMAL ) END) as Estimated_work, … … 548 548 SUM(CASE WHEN totalhours.value = '' OR totalhours.value IS NULL THEN 0 549 549 ELSE CAST( totalhours.value AS DECIMAL ) END) 550 AS VARCHAR(1024)) as owner,550 AS CHAR(512)) as owner, 551 551 SUM(CASE WHEN EstimatedHours.value = '' OR EstimatedHours.value IS NULL THEN 0 552 552 ELSE CAST( EstimatedHours.value AS DECIMAL ) END) as Estimated_work, … … 636 636 SUM(CASE WHEN totalhours.value = '' OR totalhours.value IS NULL THEN 0 637 637 ELSE CAST( totalhours.value AS DECIMAL ) END) 638 AS VARCHAR(1024)) as owner,638 AS CHAR(512)) as owner, 639 639 SUM(CASE WHEN EstimatedHours.value = '' OR EstimatedHours.value IS NULL THEN 0 640 640 ELSE CAST( EstimatedHours.value AS DECIMAL ) END) as Estimated_work, timingandestimationplugin/branches/trac0.11/timingandestimationplugin/statuses.py
r3119 r3521 4 4 5 5 def status_variables(statuses): 6 return ', '.join(['$'+i.upper() for i in list(statuses)])6 return ', '.join(['$'+i.upper().replace("_","").replace(" ","") for i in list(statuses)]) 7 7 8 8 def get_statuses(config, env):
