diff --git a/addons/mail/mail_thread_view.xml b/addons/mail/mail_thread_view.xml index a32045efafc..ba2797a6051 100644 --- a/addons/mail/mail_thread_view.xml +++ b/addons/mail/mail_thread_view.xml @@ -3,13 +3,14 @@ + + web_icon_hover="static/src/img/feeds-hover.png"/> - + + News Feed diff --git a/addons/portal/portal_data.xml b/addons/portal/portal_data.xml index 2cba3a1945a..3f7e6804d9b 100644 --- a/addons/portal/portal_data.xml +++ b/addons/portal/portal_data.xml @@ -2,11 +2,30 @@ + + Company's news feed + + + + News + mail.group + + form + + + + + + + + + + + Portal - - + diff --git a/addons/portal/portal_view.xml b/addons/portal/portal_view.xml index e56dfda67f2..818753dede6 100644 --- a/addons/portal/portal_view.xml +++ b/addons/portal/portal_view.xml @@ -2,20 +2,6 @@ - - - Portals - res.portal - form - tree,form - - {'form_view_ref': 'portal.portal_form_view'} - -A portal helps defining specific views and rules for a group of users (the -portal group). A portal menu, widgets and specific groups may be assigned to -the portal's users. - - @@ -28,7 +14,6 @@ the portal's users. - Portal Form @@ -65,43 +50,23 @@ the portal's users. - - - Company's news feed + + + Portals + res.portal + form + tree,form + + {'form_view_ref': 'portal.portal_form_view'} + +A portal helps defining specific views and rules for a group of users (the +portal group). A portal menu, widgets and specific groups may be assigned to +the portal's users. + - - - News - mail.group - - form - - - - - - - + + - - - - - - - - - - - - diff --git a/addons/portal_crm/static/src/css/portal_crm.css b/addons/portal_crm/static/src/css/portal_crm.css index 6cad34bc963..e2bd342aada 100644 --- a/addons/portal_crm/static/src/css/portal_crm.css +++ b/addons/portal_crm/static/src/css/portal_crm.css @@ -4,58 +4,9 @@ /* Root container */ .openerp .oe_portal_crm_contact { - width: 100%; -} - -/* Sections containers */ -.oe_portal_crm_callout, -.oe_portal_crm_contact_form, -.oe_portal_crm_office, -.oe_portal_crm_team { - padding: 0 5px; -} - -/* Sections titles */ -.openerp .oe_portal_crm_contact .oe_portal_crm_callout h1, -.openerp .oe_portal_crm_contact .oe_portal_crm_contact_form h1, -.openerp .oe_portal_crm_contact .oe_portal_crm_office h1 { - display: inline-block; - border-color: #4C4C4C; - border-style: solid; -} -.openerp .oe_portal_crm_contact .oe_portal_crm_callout h1 { - border-width: 0 0 5px 0; - margin-bottom: 0; - padding-bottom: 0; -} -.openerp .oe_portal_crm_contact .oe_portal_crm_contact_form h1, -.openerp .oe_portal_crm_contact .oe_portal_crm_office h1 { - border-width: 5px 0 0 0; - margin-top: 0; - padding-top: 0; -} - - - -/* - * Sections layout - */ - -/* Callout section */ -.openerp .oe_portal_crm_contact .oe_portal_crm_callout - { - padding: 0 5px; - /* background is defined directly in the view itself */ -} -.openerp .oe_portal_crm_contact .oe_portal_crm_callout .oe_portal_crm_background_wrapper { - height: 120px; - border-bottom: 1px solid #4C4C4C; - border-top: 1px solid #4C4C4C; - padding: 5px 0; -} -.openerp .oe_portal_crm_contact .oe_portal_crm_callout .oe_portal_crm_background { - width: 100%; - height: 100%; + width: 800px; + margin: auto; + padding: 8px 0 0 0; } /* Contact form section */ @@ -68,13 +19,11 @@ float: none; display: block; width: 100%; - border: 1px solid #D8D8D8; - border-bottom-color: #B9B9B9; margin-bottom: 5px; padding: 5px; } /* Employees list section */ -.openerp .oe_portal_crm_contact .oe_portal_crm_team .oe_fold_column.oe_kanban_record { - -} \ No newline at end of file +.openerp .oe_portal_crm_contact .oe_portal_crm_team { + padding: 8px 0 0 0; +} diff --git a/addons/portal_crm/wizard/contact.py b/addons/portal_crm/wizard/contact.py index 2a8378c6bc8..7c21b71a58b 100644 --- a/addons/portal_crm/wizard/contact.py +++ b/addons/portal_crm/wizard/contact.py @@ -58,5 +58,6 @@ class crm_contact_us(osv.TransientModel): 'view_type': 'form', 'res_model': self._name, 'res_id': ids[0], - 'view_id': self.pool.get('ir.model.data').get_object_reference(cr, uid, 'portal_crm', 'wizard_contact_form_view_thanks')[1] + 'view_id': self.pool.get('ir.model.data').get_object_reference(cr, uid, 'portal_crm', 'wizard_contact_form_view_thanks')[1], + 'target': 'inline' } diff --git a/addons/portal_crm/wizard/contact_view.xml b/addons/portal_crm/wizard/contact_view.xml index 0a64e7a79f2..d8322685ee0 100644 --- a/addons/portal_crm/wizard/contact_view.xml +++ b/addons/portal_crm/wizard/contact_view.xml @@ -9,30 +9,24 @@ form
-
-
-

Contact OpenERP

-
-
-
-
-

Get in touch

- - - - +

Contact us

+ + + + + +
-

Our office

@@ -102,7 +96,6 @@
- @@ -139,5 +132,8 @@ + + +