Commit 5c27486c authored by Fabien Morin's avatar Fabien Morin

2010-02-01 fabien

* don't display action buttons (like copy/paste, ...) in dialog_mode

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32154 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c7e90a27
...@@ -61,6 +61,7 @@ ...@@ -61,6 +61,7 @@
show_anchor_column here/showAnchorColumn;\n show_anchor_column here/showAnchorColumn;\n
show_search_line here/showSearchLine;\n show_search_line here/showSearchLine;\n
is_web_mode request/is_web_mode | nothing;\n is_web_mode request/is_web_mode | nothing;\n
is_dialog_mode request/dialog_mode | nothing;\n
list_style python:request.get(\'list_style\', \n list_style python:request.get(\'list_style\', \n
selection.getParams().get(\'list_style\', is_web_mode and \'table\' or None));\n selection.getParams().get(\'list_style\', is_web_mode and \'table\' or None));\n
is_gadget_mode request/is_gadget_mode | nothing;\n is_gadget_mode request/is_gadget_mode | nothing;\n
......
...@@ -336,7 +336,7 @@ ...@@ -336,7 +336,7 @@
\n \n
<!-- Copy / Paste buttons -->\n <!-- Copy / Paste buttons -->\n
<div class="bottom_actions" \n <div class="bottom_actions" \n
tal:condition="python:not is_gadget_mode and show_select_column">\n tal:condition="python:not is_gadget_mode and show_select_column and not is_dialog_mode">\n
\n \n
<button type="submit" class="cut_button" title="Cut"\n <button type="submit" class="cut_button" title="Cut"\n
name="Folder_cut:method"\n name="Folder_cut:method"\n
......
2010-02-01 fabien
* don't display action buttons (like copy/paste, ...) in dialog_mode
2010-02-01 yo 2010-02-01 yo
* Add classes into elements which have ids set in page templates, so that we could get rid of the ids potentially (but we can't because of tests). * Add classes into elements which have ids set in page templates, so that we could get rid of the ids potentially (but we can't because of tests).
......
881 883
\ 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