Mercurial > p > roundup > code
comparison templates/classic/html/page.html @ 3741:f9efa4ad9d96
fix sidebar search links (patch [SF#1574467])
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Thu, 09 Nov 2006 01:21:21 +0000 |
| parents | b11142bb2aa2 |
| children | f95c3bb0ddcc |
comparison
equal
deleted
inserted
replaced
| 3740:1442ba0c4850 | 3741:f9efa4ad9d96 |
|---|---|
| 37 tal:attributes="value columns_showall" | 37 tal:attributes="value columns_showall" |
| 38 value="id,activity,title,creator,assignedto,status"/> | 38 value="id,activity,title,creator,assignedto,status"/> |
| 39 <input type="hidden" name="@sort" value="activity"/> | 39 <input type="hidden" name="@sort" value="activity"/> |
| 40 <input type="hidden" name="@group" value="priority"/> | 40 <input type="hidden" name="@group" value="priority"/> |
| 41 <input id="search-text" name="@search_text" size="10"/> | 41 <input id="search-text" name="@search_text" size="10"/> |
| 42 <input type="submit" id="submit" name="submit" value="Search" i18n:attributes="value"/> | 42 <input type="submit" id="submit" name="submit" value="Search" i18n:attributes="value" tal:attributes="value request/search_text" /> |
| 43 </form> | 43 </form> |
| 44 </div> | 44 </div> |
| 45 </td> | 45 </td> |
| 46 </tr> | 46 </tr> |
| 47 | 47 |
| 68 tal:attributes="href python:request.indexargs_url('issue', { | 68 tal:attributes="href python:request.indexargs_url('issue', { |
| 69 '@sort': '-activity', | 69 '@sort': '-activity', |
| 70 '@group': 'priority', | 70 '@group': 'priority', |
| 71 '@filter': 'status,assignedto', | 71 '@filter': 'status,assignedto', |
| 72 '@columns': columns, | 72 '@columns': columns, |
| 73 '@search_text': '', | |
| 73 'status': status_notresolved, | 74 'status': status_notresolved, |
| 74 'assignedto': '-1', | 75 'assignedto': '-1', |
| 75 '@dispname': i18n.gettext('Show Unassigned'), | 76 '@dispname': i18n.gettext('Show Unassigned'), |
| 76 })" | 77 })" |
| 77 i18n:translate="">Show Unassigned</a><br> | 78 i18n:translate="">Show Unassigned</a><br> |
| 79 tal:attributes="href python:request.indexargs_url('issue', { | 80 tal:attributes="href python:request.indexargs_url('issue', { |
| 80 '@sort': '-activity', | 81 '@sort': '-activity', |
| 81 '@group': 'priority', | 82 '@group': 'priority', |
| 82 '@filter': 'status', | 83 '@filter': 'status', |
| 83 '@columns': columns_showall, | 84 '@columns': columns_showall, |
| 85 '@search_text': '', | |
| 84 'status': status_notresolved, | 86 'status': status_notresolved, |
| 85 '@dispname': i18n.gettext('Show All'), | 87 '@dispname': i18n.gettext('Show All'), |
| 86 })" | 88 })" |
| 87 i18n:translate="">Show All</a><br> | 89 i18n:translate="">Show All</a><br> |
| 88 <a href="issue?@template=search" i18n:translate="">Search</a><br> | 90 <a href="issue?@template=search" i18n:translate="">Search</a><br> |
| 139 </form> | 141 </form> |
| 140 | 142 |
| 141 <p class="userblock" tal:condition="python:request.user.username != 'anonymous'"> | 143 <p class="userblock" tal:condition="python:request.user.username != 'anonymous'"> |
| 142 <b i18n:translate="">Hello, <span i18n:name="user" | 144 <b i18n:translate="">Hello, <span i18n:name="user" |
| 143 tal:replace="request/user/username">username</span></b><br> | 145 tal:replace="request/user/username">username</span></b><br> |
| 144 <a href="#" tal:attributes="href string:issue?@sort=-activity&@group=priority&@filter=status,assignedto&@columns=id,activity,title,creator,status&status=-1,1,2,3,4,5,6,7&assignedto=${request/user/id}" i18n:translate="">Your Issues</a><br> | 146 <a href="#" |
| 147 tal:attributes="href python:request.indexargs_url('issue', { | |
| 148 '@sort': '-activity', | |
| 149 '@group': 'priority', | |
| 150 '@filter': 'status,assignedto', | |
| 151 '@columns': 'id,activity,title,creator,status', | |
| 152 '@search_text': '', | |
| 153 'status': status_notresolved, | |
| 154 'assignedto': request.user.id, | |
| 155 '@dispname': i18n.gettext('Your Issues'), | |
| 156 })" | |
| 157 i18n:translate="">Your Issues</a><br> | |
| 145 <a href="#" tal:attributes="href string:user${request/user/id}" | 158 <a href="#" tal:attributes="href string:user${request/user/id}" |
| 146 i18n:translate="">Your Details</a><br> | 159 i18n:translate="">Your Details</a><br> |
| 147 <a href="#" tal:attributes="href python:request.indexargs_url('', | 160 <a href="#" tal:attributes="href python:request.indexargs_url('', |
| 148 {'@action':'logout'})" i18n:translate="">Logout</a> | 161 {'@action':'logout'})" i18n:translate="">Logout</a> |
| 149 </p> | 162 </p> |
