Commit c5759f16 authored by Ivan Tyagov's avatar Ivan Tyagov

button tag doesn't support src attribute.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38241 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2156ca03
......@@ -46,20 +46,18 @@
<tal:block metal:define-macro="first_previous_page_navigation">\n
\n
<tal:block tal:condition="python: here.current_page > 0">\n
<button type="submit" src="2leftarrowv.png"\n
<button type="submit"\n
title="First Page" name="firstPage:method"\n
class="listbox_first_page"\n
tal:attributes="name string:${field_id}_firstPage:method;\n
src string:${portal_url_string}/images/2leftarrowv.png;\n
class python: test(is_default_listbox_field, \'listbox_first_page\', \'listbox_first_page %s_first_page\' %field_id)"\n
i18n:domain="ui" i18n:attributes="title">\n
<span class="image"/>\n
</button>\n
<button type="submit" src="1leftarrowv.png"\n
<button type="submit"\n
title="Previous Page" name="previousPage:method"\n
class="listbox_previous_page"\n
tal:attributes="name string:${field_id}_previousPage:method;\n
src string:${portal_url_string}/images/1leftarrowv.png;\n
class python: test(is_default_listbox_field, \'listbox_previous_page\', \'listbox_previous_page %s_previous_page\' %field_id)"\n
i18n:domain="ui" i18n:attributes="title">\n
<span class="image"/>\n
......@@ -73,18 +71,16 @@
<tal:block metal:define-macro="next_last_page_navigation">\n
\n
<tal:block tal:condition="python: here.current_page < here.total_pages - 1">\n
<button type="submit" src="1rightarrowv.png"\n
<button type="submit"\n
title="Next Page" name="nextPage:method" class="listbox_next_page"\n
tal:attributes="name string:${field_id}_nextPage:method;\n
src string:${portal_url_string}/images/1rightarrowv.png;\n
class python: test(is_default_listbox_field, \'listbox_next_page\', \'listbox_next_page %s_next_page\' %field_id)"\n
i18n:domain="ui" i18n:attributes="title">\n
<span class="image"/>\n
</button>\n
<button type="submit" src="2rightarrowv.png"\n
<button type="submit"\n
title="Last Page" name="lastPage:method" class="listbox_last_page"\n
tal:attributes="name string:${field_id}_lastPage:method;\n
src string:${portal_url_string}/images/2rightarrowv.png;\n
class python: test(is_default_listbox_field, \'listbox_last_page\', \'listbox_last_page %s_last_page\' %field_id)"\n
i18n:domain="ui" i18n:attributes="title" >\n
<span class="image"/>\n
......
1002
\ No newline at end of file
1003
\ 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