summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2017-06-07 18:13:11 +0200
committerThibault Delavallée <tde@odoo.com>2017-08-08 14:58:49 +0200
commitea27c1b7a341b6f913197a2e8843562c5e71ea52 (patch)
treeedff4bb4b14ba7afea08ce0c92ba609aa5d314fa /addons/web/static/src
parent86aa1b81bcc7452e42c84a995479a59440dab956 (diff)
[MOV] website_portal, portal: move customer portal to portal module
This commit moves the whole customer portal to the portal module. It now completely uses portal and http_routing features and is not dependent on website anymore. An override of web controller is added in portal in order to redirect portal users to /my instead of /web. That way once having the customer portal installed all share users are correctly redirected to their account. All modules defining customer portal templates and controllers are updated accordingly.
Diffstat (limited to 'addons/web/static/src')
-rw-r--r--addons/web/static/src/less/portal.less38
1 files changed, 38 insertions, 0 deletions
diff --git a/addons/web/static/src/less/portal.less b/addons/web/static/src/less/portal.less
new file mode 100644
index 00000000000..afc5b17dd08
--- /dev/null
+++ b/addons/web/static/src/less/portal.less
@@ -0,0 +1,38 @@
+.o_portal {
+ .breadcrumb {
+ margin-bottom: 0px;
+ }
+}
+.o_my_status_table {
+ text-align: right;
+ tr > :first-child {
+ text-align: left;
+ }
+ tr th {
+ text-align: center;
+ }
+}
+
+.o_my_home_content > .page-header > a:hover {
+ text-decoration: none;
+}
+
+.portal-wrap table.table tr {
+ word-wrap: break-word;
+}
+
+.search_panel_fixed_width {
+ overflow: hidden;
+ max-width: 125px;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+}
+
+.oe_attachments .o_image_small {
+ height: 40px;
+ width: 50px;
+}
+
+.breadcrumb {
+ display: inline-block;
+}