Mercurial > p > roundup > code
comparison website/issues/html/issue.index.html @ 5279:17c2ed599d03
Alow the user to dynamically change the sort option for the issue
index. Not sure why it was commented out originally.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 24 Sep 2017 18:51:41 -0400 |
| parents | c2d0d3e9099d |
| children | 510a94a2e6e7 |
comparison
equal
deleted
inserted
replaced
| 5278:8d595c5486c0 | 5279:17c2ed599d03 |
|---|---|
| 120 --> | 120 --> |
| 121 <form method="get" class="index-controls" | 121 <form method="get" class="index-controls" |
| 122 tal:attributes="action request/classname"> | 122 tal:attributes="action request/classname"> |
| 123 | 123 |
| 124 <table class="form" tal:define="n_sort python:2"> | 124 <table class="form" tal:define="n_sort python:2"> |
| 125 <!-- | |
| 126 <tal:block tal:repeat="n python:range(n_sort)" tal:condition="batch"> | 125 <tal:block tal:repeat="n python:range(n_sort)" tal:condition="batch"> |
| 127 <tr tal:define="key python:len(request.sort)>n and request.sort[n]"> | 126 <tr tal:define="key python:len(request.sort)>n and request.sort[n]"> |
| 128 <th> | 127 <th> |
| 129 <tal:block tal:condition="not:n" i18n:translate="">Sort on:</tal:block> | 128 <tal:block tal:condition="not:n" i18n:translate="">Sort on:</tal:block> |
| 130 </th> | 129 </th> |
| 142 <td><input type="checkbox" tal:attributes="name python:'@sortdir%d'%n; | 141 <td><input type="checkbox" tal:attributes="name python:'@sortdir%d'%n; |
| 143 checked python:key and key[0] == '-'"/> | 142 checked python:key and key[0] == '-'"/> |
| 144 </td> | 143 </td> |
| 145 </tr> | 144 </tr> |
| 146 </tal:block> | 145 </tal:block> |
| 147 --> | |
| 148 <tal:block tal:repeat="n python:range(n_sort)" tal:condition="batch"> | 146 <tal:block tal:repeat="n python:range(n_sort)" tal:condition="batch"> |
| 149 <tr tal:define="key python:len(request.group)>n and request.group[n]"> | 147 <tr tal:define="key python:len(request.group)>n and request.group[n]"> |
| 150 <th> | 148 <th> |
| 151 <tal:block tal:condition="not:n" i18n:translate="">Group on:</tal:block> | 149 <tal:block tal:condition="not:n" i18n:translate="">Group on:</tal:block> |
| 152 </th> | 150 </th> |
| 175 </form> | 173 </form> |
| 176 | 174 |
| 177 </tal:block> | 175 </tal:block> |
| 178 </tal:block> | 176 </tal:block> |
| 179 </tal:block> | 177 </tal:block> |
| 178 <!-- SHA: a73dac34f6c0037aba140557d5001932b4847623 --> |
