Files
odoo_source/addons/web_diagram/static/src/xml/base_diagram.xml
T
Aaron Bohy bffa8f37f1 [REF] web_diagram: various tweaks
- Ensure compatibility with both editions of web
- Use the Pager widget instead of re-implementing it
- Fix the use of Dialogs which was broken (wrong type of Dialog was used)
- Convert css into less
- Some js linting
2015-08-07 14:05:07 +02:00

17 lines
379 B
XML

<template>
<t t-name="DiagramView.buttons">
<div t-if="widget.is_action_enabled('create')">
<button type="button" class="btn btn-primary btn-sm o_diagram_new_button">
New Node
</button>
</div>
</t>
<t t-name="DiagramView">
<div class="o_diagram_header" t-att-id="widget.element_id + '_header'"/>
<div class="o_diagram"/>
</t>
</template>