summaryrefslogtreecommitdiff
path: root/addons/project/static/src/xml/project.xml
diff options
context:
space:
mode:
Diffstat (limited to 'addons/project/static/src/xml/project.xml')
-rw-r--r--addons/project/static/src/xml/project.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/project/static/src/xml/project.xml b/addons/project/static/src/xml/project.xml
index d9c4f3fa675..a2d222784b9 100644
--- a/addons/project/static/src/xml/project.xml
+++ b/addons/project/static/src/xml/project.xml
@@ -2,7 +2,7 @@
<templates id="template" xml:space="preserve">
<t t-name="project.SetCoverModal">
<div t-if="attachment_ids.length > 0" class="o_kanban_task_cover_image">
- <img t-foreach="attachment_ids" t-as="attachment" t-attf-class="img-responsive#{cover_id == attachment['id'] ? ' o_selected' : ''}" t-attf-src="/web/image/#{attachment['id']}?unique=1" t-att-data-id="attachment['id']"/>
+ <img t-foreach="attachment_ids" t-as="attachment" t-attf-class="img-responsive#{cover_id == attachment['id'] ? ' o_selected' : ''}" t-attf-src="/web/image/#{attachment['id']}?unique=1" t-att-data-id="attachment['id']" t-att-data-name="attachment['name']"/>
</div>
<div t-if="attachment_ids.length == 0">There is no available image to be set as cover. Send a message on the task with an attached image.</div>
</t>