[IMP] hr_timesheet, website, digest : Add new digest tips
This commits adds a few digest tips concerning the website customization and shortcuts in timesheet. It also changes sequence of one. Add css selectors to include button inside the digest tips, matching existing style: no underline, white text on odoo purple button. PR #63784 Task-2341722 Related: odoo/enterprise#15478 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
This commit is contained in:
@@ -60,6 +60,16 @@
|
||||
text-align: justify;
|
||||
text-justify: inter-word;
|
||||
}
|
||||
.tip_button {
|
||||
background-color: #875a7b;
|
||||
border-radius: 5px;
|
||||
margin: 14px 16px 14px 0px;
|
||||
padding: 10px;
|
||||
text-decoration: none;
|
||||
}
|
||||
.tip_button_text {
|
||||
color: #ffffff;
|
||||
}
|
||||
.illustration_border {
|
||||
width: 100%;
|
||||
border: 1px solid grey;
|
||||
|
||||
@@ -24,6 +24,7 @@ up a management by affair.
|
||||
'data': [
|
||||
'security/hr_timesheet_security.xml',
|
||||
'security/ir.model.access.csv',
|
||||
'data/digest_data.xml',
|
||||
'views/assets.xml',
|
||||
'views/hr_timesheet_views.xml',
|
||||
'views/res_config_settings_views.xml',
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<odoo>
|
||||
<data>
|
||||
<record id="digest_tip_hr_timesheet_0" model="digest.tip">
|
||||
<field name="name">Tip: Record your Timesheets faster</field>
|
||||
<field name="sequence">2200</field>
|
||||
<field name="group_id" ref="hr_timesheet.group_hr_timesheet_user" />
|
||||
<field name="tip_description" type="html">
|
||||
<div>
|
||||
<b class="tip_title">Tip: Record your Timesheets faster</b>
|
||||
<p class="tip_content">Record your timesheets in an instant by pressing Shift + the corresponding hotkey to add 15min to your projects.</p>
|
||||
<img src="/hr_timesheet/static/img/digest_tip_timesheets_hotkeys.gif" class="illustration_border" />
|
||||
</div>
|
||||
</field>
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 17 KiB |
@@ -3,7 +3,7 @@
|
||||
<data>
|
||||
<record id="digest_tip_website_0" model="digest.tip">
|
||||
<field name="name">Tip: Engage with visitors to convert them into leads</field>
|
||||
<field name="sequence">400</field>
|
||||
<field name="sequence">1500</field>
|
||||
<field name="group_id" ref="website.group_website_publisher" />
|
||||
<field name="tip_description" type="html">
|
||||
<div>
|
||||
@@ -34,6 +34,30 @@
|
||||
<p class="tip_title">Tip: Search Engine Optimization (SEO)</p>
|
||||
<p class="tip_content">To get more visitors, you should target keywords that are often searched in Google. With the built-in SEO tool, once you define a few keywords, Odoo will recommend you the best keywords to target. Then adapt your title and description accordingly to boost your traffic.</p>
|
||||
<img src="/website/static/src/img/SEO-keywords.gif" class="illustration_border" />
|
||||
</div>
|
||||
</field>
|
||||
</record>
|
||||
<record id="digest_tip_website_3" model="digest.tip">
|
||||
<field name="name">Tip: Use illustrations to spice up your website</field>
|
||||
<field name="sequence">300</field>
|
||||
<field name="group_id" ref="website.group_website_publisher" />
|
||||
<field name="tip_description" type="html">
|
||||
<div>
|
||||
<p class="tip_title">Tip: Use illustrations to spice up your website</p>
|
||||
<p class="tip_content">Not only can you search for royalty-free illustrations, their colors are also converted so that they always fit your Theme.</p>
|
||||
<img src="/website/static/src/img/digest_tip_website_illustrations.gif" class="illustration_border" />
|
||||
</div>
|
||||
</field>
|
||||
</record>
|
||||
<record id="digest_tip_website_4" model="digest.tip">
|
||||
<field name="name">Tip: Add shapes to energize your Website</field>
|
||||
<field name="sequence">400</field>
|
||||
<field name="group_id" ref="website.group_website_publisher" />
|
||||
<field name="tip_description" type="html">
|
||||
<div>
|
||||
<p class="tip_title">Tip: Add shapes to energize your Website</p>
|
||||
<p class="tip_content">More than 90 shapes exist and their colors are picked to match your Theme.</p>
|
||||
<img src="/website/static/src/img/digest_tip_website_shapes.gif" class="illustration_border" />
|
||||
</div>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 67 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 59 KiB |
Reference in New Issue
Block a user