73 lines
2.9 KiB
XML
73 lines
2.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<template id="mailing_report_deactivated" name="Report Unsubscribed">
|
|
<t t-call="mass_mailing.layout">
|
|
<div class="container mt8">
|
|
<div class="row">
|
|
<div class="col-lg-6 offset-lg-3">
|
|
<h3>Mailing Reports Turned Off</h3>
|
|
<div class="alert alert-success text-center" role="status">
|
|
<p>
|
|
Mailing Reports have been turned off for all users. <br/>
|
|
If needed, they can be turned back on from the
|
|
<a t-if="menu_id" t-attf-href="/odoo?menu_id={{menu_id}}">
|
|
Settings Menu.
|
|
</a>
|
|
<t t-else="">
|
|
Settings Menu.
|
|
</t>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</t>
|
|
</template>
|
|
|
|
<!-- Template used for '/view' generic dummy placeholder -->
|
|
<template id="mailing_view_generic" name="View in Browser">
|
|
<t t-call="web.frontend_layout">
|
|
<body class="bg-white o_mailing_portal_body">
|
|
<header>
|
|
<title>Odoo</title>
|
|
</header>
|
|
<div id="wrap" class="oe_structure oe_empty"/>
|
|
<main class="h-100 align-content-center">
|
|
<div class="o_view_nocontent">
|
|
<div class="justify-content-center o_nocontent_help col-6">
|
|
<img src="/web/static/img/smiling_face.svg"/>
|
|
<p class="o_view_nocontent_smiling_face row justify-content-center col-6 offset-3 pt-3">
|
|
Nothing to see yet!
|
|
</p>
|
|
<div class="row justify-content-center col-6 offset-3 pb-5">
|
|
Send a test version of your mailing to preview its design
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
</body>
|
|
</t>
|
|
</template>
|
|
|
|
<!-- Dummy layout to "view" a template content (html) -->
|
|
<template id="mailing_view" name="Browser View">
|
|
<!DOCTYPE html>
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
|
|
|
<style type="text/css">
|
|
<!-- Hide the link view online as it is displayed online -->
|
|
.o_snippet_view_in_browser {
|
|
display: none;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<!-- Raw body inserted here because it is a rendered mailing, therefore internal content -->
|
|
<t t-out="body"/>
|
|
</body>
|
|
</html>
|
|
</template>
|
|
</odoo>
|