Skip to content

Commit 9117938

Browse files
committed
- issue2551074 - In "responsive" template: click on hide comment leads
to a red error msg. to files in responsive template reference the 'icing' macro. This was replaced by a 'frame' macro in the responsive template.
1 parent 0754423 commit 9117938

File tree

4 files changed

+31
-2
lines changed

4 files changed

+31
-2
lines changed

CHANGES.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ Fixed:
2626
- issue2551131 - Return accept-patch if patch body not accepted
2727
(415 code). Accept-Patch returned with acceptable values. (John
2828
Rouillard)
29+
- issue2551074 - In "responsive" template: click on hide comment leads
30+
to a red error msg. (Report by Ludwig Reiter; fix John Rouillard)
2931

3032
Features:
3133

doc/upgrading.txt

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,33 @@ the `PySQLite <https://github.com/ghaering/pysqlite>`_ library has
108108
been removed in 2.5.0. Only the Python supplied sqlite3 library will
109109
be supported.
110110

111+
Update responsive template _generic.404.html and query.item.html (recommended)
112+
------------------------------------------------------------------------------
113+
114+
This only applies if your tracker is based on the responsive
115+
template. Check the TEMPLATE-INFO.txt file in your tracker
116+
home. The template name is the first component of the ``Name``
117+
field. For example a Name like::
118+
119+
Name: responsive-bugtracker
120+
121+
is based on the responsive template. If the Name doesn't start with
122+
``responsive`` no changes are needed.
123+
124+
The ``_generic.404.html`` and ``query.item.html`` templates will crash
125+
when displayed because a missing macro is called. Change::
126+
127+
<tal:block metal:use-macro="templates/page/macros/icing">
128+
129+
to::
130+
131+
<tal:block metal:use-macro="templates/page/macros/frame">
132+
133+
at the top of both files. The icing macro used in other tracker
134+
templates was renamed to frame in this tracker template.
135+
136+
137+
111138
.. index:: Upgrading; 2.3.0 to 2.4.0
112139

113140
Migrating from 2.3.0 to 2.4.0

share/roundup/templates/responsive/html/_generic.404.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!-- dollarId: issue.item,v 1.4 2001/08/03 01:19:43 richard Exp dollar-->
2-
<tal:block metal:use-macro="templates/page/macros/icing">
2+
<tal:block metal:use-macro="templates/page/macros/frame">
33
<title metal:fill-slot="head_title">
44
Item Not Found
55
</title>

share/roundup/templates/responsive/html/query.item.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<span tal:condition="context/is_view_ok" tal:replace="structure
33
context/renderQueryForm" />
44
<tal:block tal:condition="not:context/is_view_ok">
5-
<tal:block metal:use-macro="templates/page/macros/icing">
5+
<tal:block metal:use-macro="templates/page/macros/frame">
66
<title metal:fill-slot="head_title">You can not view query</title>
77
<tal:block metal:fill-slot="body_title">
88
You can not view query.

0 commit comments

Comments
 (0)