[ADD] web_switch_company_warning : display a message saying it's time to reload the page

This commit is contained in:
hparfr
2015-09-25 14:13:20 +02:00
parent 4fb137ad0e
commit 45c3bba7b0
7 changed files with 190 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<template>
<t t-name="web_switch_company_warning.warningWidget">
<div class="container-fluid bg-warning" style="text-align: center; display:none;">
<h3>You switched to a different company with another tab or window</h3>
<p><button onclick="location.reload(true);" class="btn">Reload</button> to refresh your session</p>
</div>
</t>
</template>