root/customroadmapplugin/0.11/trac-0.11dev.patch
| Revision 2348, 1.2 kB (checked in by davecole, 2 years ago) |
|---|
-
trac/templates/macros.html
old new 231 231 </tr> 232 232 </table> 233 233 <p class="percent">${percent is None and '%d%%' % stats.done_percent or percent}</p> 234 <dl py:if="legend">234 <dl class="progress" py:if="legend"> 235 235 <py:for each="idx, interval in enumerate(stats.intervals)"> 236 <dt >${interval.title.capitalize()} ${stats.unit}s:</dt>236 <dt class="$interval.css_class">${interval.title.capitalize()} ${stats.unit}s:</dt> 237 237 <dd><a href="${interval_hrefs[idx]}">${interval.count}</a></dd> 238 238 </py:for> 239 239 <py:if test="stats_href"> -
trac/web/chrome.py
old new 561 561 if content_type is None: 562 562 content_type = 'text/html' 563 563 method = {'text/html': 'xhtml', 564 'text/css': 'text', 564 565 'text/plain': 'text'}.get(content_type, 'xml') 565 566 566 567 template = self.load_template(filename, method=method)
Note: See TracBrowser for help on using the browser.
