[10.0][MIG]migrate web_widget_image_download

This commit is contained in:
smurf-U
2017-06-24 00:14:06 +05:30
committed by Pedro M. Baeza
parent 120a9a576b
commit 841c78960a
5 changed files with 13 additions and 12 deletions

View File

@@ -4,9 +4,10 @@
<template>
<t t-extend="FieldBinaryImage">
<t t-jquery=".oe_form_binary_file_edit" t-operation="after">
<t t-jquery=".o_select_file_button" t-operation="after">
<t t-if="widget.has_custom_image()">
<a class="fa fa-download fa-1g col-md-4 oe_form_binary_file_download" title="Download"></a>
<a class="fa fa-download o_form_binary_file_download"
title="Download"/>
</t>
</t>
</t>