[IMP] mail, email_template: chatter: added forgotton images for links/buttons, cleaned a bit the CSS for the composer.

bzr revid: tde@openerp.com-20120718133234-p933jg1y8658i5ah
This commit is contained in:
Thibault Delavallée 2012-07-18 15:32:34 +02:00
parent 63e046da63
commit 56e6186ad9
9 changed files with 17 additions and 17 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

@ -41,21 +41,12 @@
on_change="on_change_template(use_template, template_id, False, False, context)"/>
</xpath>
<xpath expr="//a[@class='oe_mail_compose_message_checklist']" position="before">
<!--
<a href="#" class="oe_mail_compose_message_template">
<img src='/mail/static/src/img/template.png/' alt='Use template'
title='Use a message template'/>
</a>
<a href="#" class="oe_mail_compose_message_template_save">
<img src='/mail/static/src/img/template.png/' alt='Save as template'
title='Use a message template'/>
</a> -->
<button icon="gtk-paste" type="object" name="template_toggle"
class="oe_mail_compose_message_template_toggle"
string="" help="Use a message template" />
<button icon="gtk-save" type="object" name="save_as_template"
class="oe_mail_compose_message_template_save"
string="" help="Save as a new template"/>
<button icon="../../../../../email_template/static/src/img/email_template"
type="object" name="template_toggle" string=""
help="Use a message template"/>
<button icon="../../../../../email_template/static/src/img/email_template_save"
type="object" name="save_as_template" string=""
help="Save as a new template"/>
</xpath>
</data>
</field>

View File

@ -325,6 +325,10 @@
width: 472px;
}
/* buttons */
.openerp .oe_mail_msg_content .oe_mail_compose_message_icons button.oe_form_button {
padding: 1px;
}
/* ------------------------------------------------------------ */
/* Messages layout

View File

@ -13,4 +13,4 @@
.openerp .oe_mail_compose_message_icons img {
width: 20px;
height: 20px;
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 976 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

@ -45,6 +45,8 @@
<field name="arch" type="xml">
<form string="Compose Email" version="7.0" >
<group>
<!-- <field name="type" invisible="1"/>
<field name="content_subtype" invisible="1"/> -->
<field name="subject" colspan="2" nolabel="1" placeholder="Subject..."
class="oe_mail_compose_message_subject oe_mail_compose_message_invisible"/>
<field name="body_text" colspan="2" nolabel="1" placeholder="What are you working on ?"
@ -55,10 +57,13 @@
placeholder="Add contacts to notify..."
class="oe_mail_compose_message_partner_ids oe_mail_compose_message_invisible"/>
<div>
<button icon="gtk-ok" name="send_mail" string="Post" type="object"/>
<button name="send_mail" string="Post" type="object"/>
or <a href="#" class="oe_mail_compose_message_email">Send an Email</a>
</div>
<div class='oe_mail_compose_message_icons'>
<!-- <button icon="../../../../../mail/static/src/img/checklist"
type="object" name="checklist" string=""
help="Add a checklist"/> -->
<a href="#" class="oe_mail_compose_message_checklist">
<img src='/mail/static/src/img/checklist.png/' alt='Checklist'
title='Add a checklist'/>