The system completely changed. I also had to adapt classes to new screen breakpoints. hidden/hide -> d-none show -> d-block hidden-xs -> d-none d-md-(block/inline/...) hidden-sm -> d-md-none d-lg-(block/inline/...) hidden-md -> d-lg-none d-xl-(block/inline/...) hidden-lg -> d-xl-none visible-xs-* -> d-* d-md-none visible-sm-* -> d-none d-md-* d-lg-none visible-md-* -> d-none d-lg-* d-xl-none visible-lg-* -> d-none d-xl-* hidden-print -> d-print-none visible-print-* -> d-none d-print-* ... and all possible combination of those had to be handled too.
33 lines
1.5 KiB
XML
33 lines
1.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<templates>
|
|
<t t-extend="mail.systray.ActivityMenu.Previews">
|
|
<t t-jquery="t[t-foreach*='activities'][t-as*='activity']" t-operation="after">
|
|
<div class="o_note_show">
|
|
<a role="button" class="btn btn-block text-center">Add new note</a>
|
|
</div>
|
|
<div class="o_note o_mail_preview d-none">
|
|
<div class="o_mail_preview_image o_mail_preview_app">
|
|
<img src="/note/static/description/icon.png" alt="Channel"/>
|
|
</div>
|
|
<div class="o_preview_info">
|
|
<div class="o_preview_title">
|
|
<span class="o_preview_name"><strong>Add a note</strong></span>
|
|
<div class="o_note_datetime"/>
|
|
<span class="ml4">
|
|
<a class="o_note_set_datetime text-muted">
|
|
<span class="fa fa-clock-o" role="img" aria-label="Set date and time" title="Set date and time"/>
|
|
</a>
|
|
</span>
|
|
</div>
|
|
<div class="o_note_input_box">
|
|
<p><input class="o_note_input" type="text" placeholder="Remember..." /></p>
|
|
<span class="ml8 mr4">
|
|
<a class="o_note_save">SAVE</a>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</t>
|
|
</t>
|
|
</templates>
|