Mercurial > p > roundup > code
diff doc/upgrading.txt @ 7992:1e9c16b079fa
fix: issue2551341 - if @columns missing from an index url, the group headers colspan property = 0
Fix packaged templates with fix for group headers not spaning the
whole table if @columns parameter is missing from the url.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 25 May 2024 22:57:44 -0400 |
| parents | fe0348bbe45b |
| children | 8e790efaabce |
line wrap: on
line diff
--- a/doc/upgrading.txt Sat May 25 22:32:30 2024 -0400 +++ b/doc/upgrading.txt Sat May 25 22:57:44 2024 -0400 @@ -356,6 +356,28 @@ `You can see the diff in the Sourceforge web interface <https://sourceforge.net/p/roundup/code/ci/54eb12cd3be143b079809795dcb2f813f75a691c/tree/share/roundup/templates/devel/html/task.index.html?diff=c95870b2bbab822def6066498a4ef8634e76e0b3>`_. +Make group headers span all columns (optional) +---------------------------------------------- + +In a number of index pages a version of the following TAL command +appears:: + + <th tal:attributes="colspan python:len(request.columns)" class="group"> + +If the ``@columns`` parameter (aka request.columns) is not set, +all columns are shown. However the group header only spans the +first column. Changing this to read:: + + <th tal:attributes="colspan python:len(request.columns) or 100" class="group"> + +makes the group header span all the columns (if you have fewer +than 100 columns). All of the supplied templates hae been +upgraded with this change. `See issue 2551341 for details +<https://issues.roundup-tracker.org/issue2551341>`_. + +Note the jinja2 template has the same issue, but the development +team hasn't devised a solution. + Use @current_user in Searches (optional) ----------------------------------------
