Opened 10 years ago
Last modified 10 years ago
#11739 new enhancement
EstimationTools plug-in for planned and total hours — at Initial Version
Reported by: | anonymous | Owned by: | Joachim Hoessler |
---|---|---|---|
Priority: | normal | Component: | EstimationToolsPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: |
Description
Finnish Alfame Systems Oy has made some improvements to the EstimationTools-plug-in (http://trac-hacks.org/wiki/EstimationToolsPlugin). The Alfame version of the plug-in counts planned (new PlannedHours macro) and total hours (new TotalHours macro) in the same way as the original version counts estimated hours (existing HoursRemaining macro).
However if the page to be included contains any non-ASCII characters, such as the common Finnish vowels ä or ö, the processing might stop with error. The fix to this is however a one-liner:
-return str(body)+(edit_link and link_tag or ) +return unicode(body)+(edit_link and link_tag or )
Attached is the diff / patch for the improved version.
Attachment to ticket #11739 - diff / patch file