diff options
| author | Antony Lesuisse <al@openerp.com> | 2012-08-21 01:40:08 +0200 |
|---|---|---|
| committer | Antony Lesuisse <al@openerp.com> | 2012-08-21 01:40:08 +0200 |
| commit | 72c5fe278bab4c52f5efb70364534b3ad54936fd (patch) | |
| tree | ef4552b545cfc02874cba22714cd4b224a3b2a31 /addons/pad/static/src/xml | |
| parent | f313d35c858708859c807b6a2854bbadad678682 (diff) | |
generate url from the widget if needed
bzr revid: al@openerp.com-20120820234008-olfcnxj7np6hwwgz
Diffstat (limited to 'addons/pad/static/src/xml')
| -rw-r--r-- | addons/pad/static/src/xml/pad.xml | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/addons/pad/static/src/xml/pad.xml b/addons/pad/static/src/xml/pad.xml index e128fb183fb..58266a2594a 100644 --- a/addons/pad/static/src/xml/pad.xml +++ b/addons/pad/static/src/xml/pad.xml @@ -2,17 +2,19 @@ <!-- vim:fdl=1: --> <templates id="template" xml:space="preserve"> - <t t-name="FieldPad"> - <t t-if="!widget.get('effective_readonly')"> - <div class="oe_form_field_text oe_etherpad_normal"> - <div class="oe_etherpad_head"> - <span class="oe_normal">Fullscreen</span> - <span class="oe_fullscreen">Return to Record</span> - </div> - <div class="oe_etherpad_default" ></div> + <div class="oe_form_field_text oe_pad"> + <div class="oe_pad_head"> + <span class="oe_pad_switch">Fullscreen</span> </div> - </t> + <div class="oe_pad_content"></div> + </div> +</t> +<t t-name="FieldPad.unconfigured"> + Please configure your etherpad server.<br/> + OpenERP Entreprise customers may safely use pad.openerp.com as a server using the following template:<br/> + <blockquote> + http://pad.openerp.com/p/%(db)s-%(model)s-%(salt)s + </blockquote> </t> - </templates> |
