summaryrefslogtreecommitdiff
path: root/addons/pad/static/src/xml
diff options
context:
space:
mode:
Diffstat (limited to 'addons/pad/static/src/xml')
-rw-r--r--addons/pad/static/src/xml/pad.xml35
1 files changed, 14 insertions, 21 deletions
diff --git a/addons/pad/static/src/xml/pad.xml b/addons/pad/static/src/xml/pad.xml
index bd3e296f9b3..f915e867b35 100644
--- a/addons/pad/static/src/xml/pad.xml
+++ b/addons/pad/static/src/xml/pad.xml
@@ -5,32 +5,25 @@
<t t-name="FieldPad">
- <t t-if="!widget.configured">
- <div class="oe_form_field_text oe_pad oe_unconfigured">
- <p>
- You must configure the etherpad through the menu Settings > Companies > Companies, in the configuration tab of your company.
- </p>
- </div>
- </t>
-
- <t t-if="widget.configured">
+ <div class="oe_form_field_text oe_pad">
+ <p class="oe_unconfigured">
+ You must configure the etherpad through the menu Settings > Companies > Companies, in the configuration tab of your company.
+ </p>
<t t-if="widget.get('effective_readonly')">
- <div class="oe_form_field_text oe_pad oe_configured">
- <div class="oe_pad_content etherpad_readonly">
- </div>
+ <div class="oe_pad_content etherpad_readonly oe_configured">
</div>
</t>
-
- <t t-if="!widget.get('effective_readonly')">
- <div class="oe_form_field_text oe_pad oe_configured">
- <div class="oe_pad_switch_positioner">
- <span class="oe_pad_switch oe_e">&amp;Ntilde;</span>
- </div>
- <div class="oe_pad_content oe_editing">
- </div>
+ <t t-if="! widget.get('effective_readonly')">
+ <div class="oe_pad_switch_positioner oe_configured">
+ <span class="oe_pad_switch oe_e">&amp;Ntilde;</span>
+ </div>
+ <div class="oe_pad_content oe_editing oe_configured">
</div>
</t>
- </t>
+ </div>
+
+
+
</t>
</templates>