From af141585089c9e4ea62bd14ea24fa20ab39ea5e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Mon, 18 Aug 2014 11:31:34 +0200 Subject: [PATCH] [FIX] website_forum_doc: fixed tree view impossible to use to create new chapters (missing forum_id due to wrongly copy-pasted views) + fixed max width of images displayed in the doc. --- .../static/src/css/website_forum_doc.css | 4 ++++ addons/website_forum_doc/views/doc.xml | 23 ------------------- .../website_forum_doc/views/website_doc.xml | 9 +++++++- 3 files changed, 12 insertions(+), 24 deletions(-) create mode 100644 addons/website_forum_doc/static/src/css/website_forum_doc.css diff --git a/addons/website_forum_doc/static/src/css/website_forum_doc.css b/addons/website_forum_doc/static/src/css/website_forum_doc.css new file mode 100644 index 00000000000..c3d052346b8 --- /dev/null +++ b/addons/website_forum_doc/static/src/css/website_forum_doc.css @@ -0,0 +1,4 @@ +.oe_toc_content img { + max-width: 600px; + height: auto !important; +} diff --git a/addons/website_forum_doc/views/doc.xml b/addons/website_forum_doc/views/doc.xml index d5f309a0567..2e21f0bff73 100644 --- a/addons/website_forum_doc/views/doc.xml +++ b/addons/website_forum_doc/views/doc.xml @@ -3,7 +3,6 @@ - forum.documentation.toc.list forum.documentation.toc @@ -27,28 +26,6 @@ name="Documentation ToC" action="action_documentation_toc" sequence="20"/> - - forum.documentation.toc.list - forum.documentation.toc - - - - - - - - - - Documentation - forum.documentation.toc - form - tree - - - - forum.post.kanban diff --git a/addons/website_forum_doc/views/website_doc.xml b/addons/website_forum_doc/views/website_doc.xml index 7e7e33117d8..06cdecee22f 100644 --- a/addons/website_forum_doc/views/website_doc.xml +++ b/addons/website_forum_doc/views/website_doc.xml @@ -2,6 +2,13 @@ + + +