source:
traclegosscript/anyrelease/traclegos/templates/errors.html
| Last change on this file was 4216, checked in by , 15 years ago | |
|---|---|
| File size: 403 bytes | |
| Line | |
|---|---|
| 1 | <html xmlns="http://www.w3.org/1999/xhtml" |
| 2 | xmlns:py="http://genshi.edgewall.org/" |
| 3 | xmlns:xi="http://www.w3.org/2001/XInclude"> |
| 4 | |
| 5 | |
| 6 | <div class="errors" py:if="errors is not None"> |
| 7 | <py:choose test="len(errors) == 1"> |
| 8 | <py:when test="True"> |
| 9 | ${errors[0]} |
| 10 | </py:when> |
| 11 | <py:otherwise> |
| 12 | <ul> |
| 13 | <li py:for="error in errors">$error</li> |
| 14 | </ul> |
| 15 | </py:otherwise> |
| 16 | </py:choose> |
| 17 | </div> |
| 18 | |
| 19 | </html> |
Note: See TracBrowser
for help on using the repository browser.
