diff --git a/addons/website/controllers/main.py b/addons/website/controllers/main.py index 361c89b2a3a..56b74ed63e9 100644 --- a/addons/website/controllers/main.py +++ b/addons/website/controllers/main.py @@ -8,8 +8,18 @@ class Website(openerp.addons.web.controllers.main.Home): @http.route('/', type='http', auth="db") def index(self, **kw): - with open(openerp.addons.get_module_resource('website', 'views', 'homepage.html'), 'rb') as f: - return f.read() + editable = bool(request.session._uid) + # WIP !!! + html = open(openerp.addons.get_module_resource('website', 'views', 'homepage.html'), 'rb').read() + if editable: + html = html.replace('', """ + + """) + return html @http.route('/admin', type='http', auth="none") def admin(self, *args, **kw): diff --git a/addons/website/views/homepage.html b/addons/website/views/homepage.html index 468281b06c9..03f580193af 100644 --- a/addons/website/views/homepage.html +++ b/addons/website/views/homepage.html @@ -1,41 +1,40 @@ - OpenERP - Beautiful Business Applications - - - + + - + - - - - - - - + + + + + + + +
@@ -45,10 +44,10 @@
OpenERP7.0
-
+
Beautiful Business Applications
Powerful, Integrated, Open Source
- Start your free trial + Start your free trial
@@ -130,111 +129,111 @@

Choose Your Application

- +
- +
-
CRM
-
+
CRM
+
Boost sales productivity, improve win rates, grow revenue
- +
- +
-
Point of Sale
-
+
Point of Sale
+
Touchscreen interface for shops
- +
- +
-
Project Management
-
+
Project Management
+
Get things done, together
- +
- +
-
Accounting
-
+
Accounting
+
All you need to run your business
- +
- +
-
Human Resources
-
+
Human Resources
+
Manage people, the most important asset in your company
- +
- +
-
Warehouse
-
+
Warehouse
+
A revolutionary double entry inventory system
- +
- +
-
Sales
-
+
Sales
+
From quotes to invoices, in just a few clicks
- +
- +
-
Manufacturing
-
- +
Tomas Parnarauskas
CEO of NOD Baltic, JSC.
@@ -273,7 +272,7 @@ Things are better organized and much more visible with it.
- +
Yoshi Tashiro
Managing Director at RoomsFor (Hong Kong)
@@ -283,25 +282,25 @@
- +
- +
- +
- +
- +
- ... and many more ... + ... and many more ...
@@ -325,7 +324,7 @@
- +
@@ -334,7 +333,7 @@

Next Generation ERP Software

The advantages of ERPs, without the disadvantages

- +

@@ -361,7 +360,7 @@

- +
@@ -387,14 +386,14 @@

- +
@@ -407,11 +406,11 @@

About Us