summaryrefslogtreecommitdiff
path: root/addons/note/static/src/xml
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
commit3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch)
treea44932296ef4a9b71d5f010906253d8c53727726 /addons/note/static/src/xml
parent0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff)
initial commit 2
Diffstat (limited to 'addons/note/static/src/xml')
-rw-r--r--addons/note/static/src/xml/systray.xml32
1 files changed, 32 insertions, 0 deletions
diff --git a/addons/note/static/src/xml/systray.xml b/addons/note/static/src/xml/systray.xml
new file mode 100644
index 00000000..8f0e953d
--- /dev/null
+++ b/addons/note/static/src/xml/systray.xml
@@ -0,0 +1,32 @@
+<?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">
+ <span class="fa fa-calendar" 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>