[IMP] wiki: remove cancel button and improved view of wizard.

bzr revid: tpa@tinyerp.com-20120615103143-ofki3uanzmsunat6
This commit is contained in:
Turkesh Patel (Open ERP)
2012-06-15 16:01:43 +05:30
parent 1e1b3a0e51
commit d538387a8b
4 changed files with 23 additions and 34 deletions
+6 -7
View File
@@ -9,15 +9,14 @@
<field name="model">wiki.create.menu</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Create Menu">
<separator string="Menu Information" colspan="4" />
<form string="Create Menu" version="7.0">
<header>
<button name="wiki_menu_create" string="Create Menu" type="object" class="oe_form_button_active_flow"/>
</header>
<separator string="Menu Information" colspan="4" />
<field name="menu_name" />
<field name="menu_parent_id" />
<separator string="" colspan="4" />
<label string="" colspan="2" />
<button special="cancel" string="Cancel" />
<button name="wiki_menu_create" string="Create Menu" type="object"/>
</form>
</form>
</field>
</record>
+7 -10
View File
@@ -9,16 +9,13 @@
<field name="model">wiki.make.index</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Create Menu">
<separator string="Menu Information" colspan="4"/>
<label string="Want to create a Index on Selected Pages ? "/>
<separator string="" colspan="6" />
<label string="" colspan="2"/>
<group>
<button special="cancel" string="Cancel" icon="gtk-cancel" />
<button name="wiki_do_index" string="Create Index" type="object" icon="gtk-ok"/>
</group>
</form>
<form string="Create Menu" version="7.0">
<header>
<button name="wiki_do_index" string="Create Index" type="object" icon="gtk-ok" class="oe_form_button_active_flow"/>
</header>
<separator string="Menu Information" colspan="4"/>
<label string="Want to create a Index on Selected Pages ? "/>
</form>
</field>
</record>
+4 -8
View File
@@ -9,14 +9,10 @@
<field name="model">wizard.wiki.history.show_diff</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Difference">
<separator colspan="4" string="Notes"/>
<field name="file_path" colspan="4" width="300"/>
<label string="" colspan="2" />
<group>
<button special="cancel" string="Close" icon="gtk-close" />
</group>
</form>
<form string="Difference">
<separator colspan="4" string="Notes"/>
<field name="file_path" colspan="4" width="300"/>
</form>
</field>
</record>
@@ -9,15 +9,12 @@
<field name="model">wiki.wiki.page.open</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Open Page">
<separator string="" colspan="6" />
<label string="Want to open a wiki page? "/>
<separator string="" colspan="6" />
<label string="" colspan="2" />
<group>
<button special="cancel" string="Cancel" icon="gtk-cancel" />
<button name="open_wiki_page" string="Open Wiki Page" type="object" icon="gtk-ok"/>
</group>
<form string="Open Page" version="7.0">
<header>
<button name="open_wiki_page" string="Open Wiki Page" type="object" icon="gtk-ok" class="oe_form_button_active_flow"/>
</header>
<separator string="" colspan="6" />
<label string="Want to open a wiki page? "/>
</form>
</field>
</record>