| 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <templates xml:space="preserve"> |
| 3 | |
| 4 | <t t-name="web.SignatureField"> |
| 5 | <t t-if="value"> |
| 6 | <img class="o_signature img img-fluid" |
| 7 | alt="Binary file" |
| 8 | t-att-src="getUrl" |
| 9 | t-att-name="props.name" |
| 10 | t-att-style="sizeStyle" |
| 11 | t-on-click="onClickSignature" |
| 12 | t-on-error.stop="onLoadFailed" |
| 13 | /> |
| 14 | </t> |
| 15 | <t t-else=""> |
| 16 | <div class="o_signature o_signature_empty" t-att-style="sizeStyle" t-on-click="onClickSignature"> |
| 17 | <svg t-on-error.stop="onLoadFailed"></svg> |
| 18 | <p>SIGNATURE</p> |
| 19 | </div> |
| 20 | </t> |
| 21 | </t> |
| 22 | |
| 23 | </templates> |