diff --git a/trac/templates/diff_div.html b/trac/templates/diff_div.html
|
a
|
b
|
|
| 35 | 35 | xmlns:xi="http://www.w3.org/2001/XInclude" |
| 36 | 36 | class="diff"> |
| 37 | 37 | |
| 38 | | <ul class="entries"> |
| | 38 | <ul py:if="any(item.diffs or item.props for item in changes)" class="entries"> |
| 39 | 39 | <py:for each="idx, item in enumerate(changes)"> |
| 40 | 40 | <li py:if="item.diffs or item.props" class="entry" py:with="comments = item.get('comments')"> |
| 41 | 41 | <h2 id="${not no_id and 'file%s' % idx or None}" py:choose=""> |
diff --git a/trac/ticket/templates/query_results.html b/trac/ticket/templates/query_results.html
|
a
|
b
|
|
| 44 | 44 | </thead> |
| 45 | 45 | |
| 46 | 46 | <tbody> |
| | 47 | <tr py:if="not results" class="even"> |
| | 48 | <td colspan="${len(headers)}"> |
| | 49 | No tickets found |
| | 50 | </td> |
| | 51 | </tr> |
| 47 | 52 | <py:for each="idx, result in enumerate(results)"> |
| 48 | 53 | <py:with vars="ticket_context = context('ticket', result.id)"> |
| 49 | 54 | <py:if test="'TICKET_VIEW' in perm(ticket_context.resource)"> |
diff --git a/trac/ticket/templates/ticket.html b/trac/ticket/templates/ticket.html
|
a
|
b
|
|
| 315 | 315 | selected="${ticket[field.name] == option or None}" |
| 316 | 316 | py:content="option"></option> |
| 317 | 317 | <optgroup py:for="optgroup in field.optgroups" |
| | 318 | py:if="optgroup.options" |
| 318 | 319 | label="${optgroup.label}"> |
| 319 | 320 | <option py:for="option in optgroup.options" |
| 320 | 321 | selected="${ticket[field.name] == option or None}" |
diff --git a/trac/versioncontrol/templates/browser.html b/trac/versioncontrol/templates/browser.html
|
a
|
b
|
|
| 93 | 93 | </tr> |
| 94 | 94 | </py:if> |
| 95 | 95 | <xi:include href="dir_entries.html" /> |
| | 96 | <tr py:if="'up' not in chrome.links and not dir.entries" class="even"> |
| | 97 | <td class="name" colspan="5"> |
| | 98 | No files found |
| | 99 | </td> |
| | 100 | </tr> |
| 96 | 101 | </tbody> |
| 97 | 102 | </table> |
| 98 | 103 | </py:if> |
diff --git a/trac/versioncontrol/templates/revisionlog.html b/trac/versioncontrol/templates/revisionlog.html
|
a
|
b
|
|
| 97 | 97 | </tr> |
| 98 | 98 | </thead> |
| 99 | 99 | <tbody> |
| | 100 | <tr py:if="not items" class="even"> |
| | 101 | <td /> |
| | 102 | <td /> |
| | 103 | <td class="copyfrom_path" colspan="6"> |
| | 104 | No revisions found |
| | 105 | </td> |
| | 106 | </tr> |
| | 107 | |
| 100 | 108 | <py:for each="idx, item in enumerate(items)"> |
| 101 | 109 | <py:with vars="change = changes[item.rev]; |
| 102 | 110 | chgset_context = context('changeset', change.rev); |