Commit e13e24f8 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

do not display pagination links if total_pages == 1.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23857 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 77dd4a93
...@@ -209,6 +209,7 @@ ...@@ -209,6 +209,7 @@
i18n:translate="" i18n:domain="ui"> - <tal:block tal:replace="python: len(here.getCheckedUidList())" i18n:name="number">0</tal:block> item(s) selected</span>\n i18n:translate="" i18n:domain="ui"> - <tal:block tal:replace="python: len(here.getCheckedUidList())" i18n:name="number">0</tal:block> item(s) selected</span>\n
</td>\n </td>\n
\n \n
<tal:block tal:condition="python: here.total_pages > 1">\n
<tal:block tal:condition="not: is_gadget_mode">\n <tal:block tal:condition="not: is_gadget_mode">\n
<td style="white-space: nowrap; vertical-align: middle; text-align: center;">\n <td style="white-space: nowrap; vertical-align: middle; text-align: center;">\n
<input tal:condition="python: here.current_page > 0"\n <input tal:condition="python: here.current_page > 0"\n
...@@ -286,6 +287,7 @@ ...@@ -286,6 +287,7 @@
onclick python: real_context.KnowledgePad_generateAjaxCall(context_url+\'/\'+form_id,box_relative_url,box_id,params)"/>\n onclick python: real_context.KnowledgePad_generateAjaxCall(context_url+\'/\'+form_id,box_relative_url,box_id,params)"/>\n
</td>\n </td>\n
</tal:block>\n </tal:block>\n
</tal:block>\n
</tr>\n </tr>\n
</table>\n </table>\n
</div>\n </div>\n
......
615 616
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment