Skip to content

Commit 2de9276

Browse files
author
Richard Jones
committed
display the query name in the header (feature [SF#298535] / patch [SF#349387])
1 parent 5b1813e commit 2de9276

File tree

4 files changed

+13
-8
lines changed

4 files changed

+13
-8
lines changed

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Feature:
1515
for Exim Internet Mailer (sf bug 1393860)
1616
- enable registration confirmation by web only (sf bug 1381675)
1717
- allow preselection of values in templating menu()s (sf patch 1396085)
18+
- display the query name in the header (sf feature 1298535 / patch 1349387)
1819

1920
Fixed:
2021
- MySQL now creates String columns using the TEXT column type

doc/index.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ Karl Ulbrich,
152152
Martin Uzak,
153153
Darryl VanDorp,
154154
J Vickroy,
155+
Timothy J. Warren,
155156
William (Wilk),
156157
Tue Wennerberg,
157158
Matt Wilbert,

templates/classic/html/issue.index.html

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
<!-- dollarId: issue.index,v 1.2 2001/07/29 04:07:37 richard Exp dollar-->
22
<tal:block metal:use-macro="templates/page/macros/icing">
3-
<title metal:fill-slot="head_title" i18n:translate=""
4-
>List of issues - <span tal:replace="config/TRACKER_NAME"
5-
i18n:name="tracker" /></title>
3+
<title metal:fill-slot="head_title" i18n:translate="" >
4+
List of issues -
5+
<span tal:condition="python:request.form.has_key('dispname')" tal:replace="python:' %s - ' % request.form['dispname'].value" />
6+
<span tal:replace="config/TRACKER_NAME" i18n:name="tracker" />
7+
</title>
68
<span metal:fill-slot="body_title" tal:omit-tag="python:1"
7-
i18n:translate="">List of issues</span>
9+
i18n:translate="">List of issues
10+
<span tal:condition="python:request.form.has_key('dispname')" tal:replace="python:' - %s' % request.form['dispname'].value" />
11+
</span>
812
<td class="content" metal:fill-slot="content">
913

1014
<p tal:condition="not:context/is_view_ok" i18n:translate="">You are not

templates/classic/html/page.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ <h2><span metal:define-slot="body_title">body title</span></h2>
4141
<span i18n:translate=""
4242
><b>Your Queries</b> (<a href="query?@template=edit">edit</a>)</span><br>
4343
<tal:block tal:repeat="qs request/user/queries">
44-
<a tal:attributes="href string:${qs/klass}?${qs/url}"
44+
<a tal:attributes="href string:${qs/klass}?${qs/url}&dispname=${qs/name}"
4545
tal:content="qs/name">link</a><br>
4646
</tal:block>
4747
</p>
@@ -53,9 +53,9 @@ <h2><span metal:define-slot="body_title">body title</span></h2>
5353
<span tal:condition="python:request.user.hasPermission('Create', 'issue')">
5454
<a href="issue?@template=item" i18n:translate="">Create New</a><br>
5555
</span>
56-
<a href="issue?@sort=-activity&@group=priority&@filter=status,assignedto&@columns=id,activity,title,creator,status&status=-1,1,2,3,4,5,6,7&assignedto=-1"
56+
<a href="issue?@sort=-activity&@group=priority&@filter=status,assignedto&@columns=id,activity,title,creator,status&status=-1,1,2,3,4,5,6,7&assignedto=-1&dispname=Show%20Unassigned"
5757
i18n:translate="">Show Unassigned</a><br>
58-
<a href="issue?@sort=-activity&@group=priority&@filter=status&@columns=id,activity,title,creator,assignedto,status&status=-1,1,2,3,4,5,6,7"
58+
<a href="issue?@sort=-activity&@group=priority&@filter=status&@columns=id,activity,title,creator,assignedto,status&status=-1,1,2,3,4,5,6,7&dispname=Show%20All"
5959
i18n:translate="">Show All</a><br>
6060
<a href="issue?@template=search" i18n:translate="">Search</a><br>
6161
<input type="submit" class="form-small" value="Show issue:"
@@ -223,4 +223,3 @@ <h2><span metal:define-slot="body_title">body title</span></h2>
223223
tal:attributes="value name;
224224
checked python:name == group_on">
225225
</td>
226-
<!-- SHA: 9defd15b86478f539e44f06b9548340e239d7320 -->

0 commit comments

Comments
 (0)