mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[FIX] prevent drop when no record id is found
[UPD] Update web_drop_target.pot [UPD] README.rst Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: web-13.0/web-13.0-web_drop_target Translate-URL: https://translation.odoo-community.org/projects/web-13-0/web-13-0-web_drop_target/
This commit is contained in:
committed by
Jasmin Solanki
parent
9826b68eb9
commit
eb001751af
@@ -1,14 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<template>
|
||||
<t t-name="web_drop_target.drop_overlay">
|
||||
<div class="o_drag_over">
|
||||
<div class="o_drag_over_content">
|
||||
<div>
|
||||
<i class="fa fa-file-o fa-5x" aria-hidden="true"></i>
|
||||
<i class="fa fa-file-o fa-5x" aria-hidden="true" />
|
||||
</div>
|
||||
<div>
|
||||
<h2>Drop your files here</h2>
|
||||
<t t-if="id">
|
||||
<h2>Drop your files here</h2>
|
||||
</t>
|
||||
<t t-else="">
|
||||
<h2>Please save the record before dropping a file</h2>
|
||||
</t>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user