<data>
<!-- DOCUMENTATION TOC VIEWS -->
-
<record id="view_documentation_toc_list" model="ir.ui.view">
<field name="name">forum.documentation.toc.list</field>
<field name="model">forum.documentation.toc</field>
name="Documentation ToC" action="action_documentation_toc" sequence="20"/>
- <record id="view_documentation_toc_list" model="ir.ui.view">
- <field name="name">forum.documentation.toc.list</field>
- <field name="model">forum.documentation.toc</field>
- <field name="arch" type="xml">
- <tree string="Documentation TOC" editable="bottom">
- <field name="sequence" widget="handle"/>
- <field name="name"/>
- <field name="parent_id"/>
- </tree>
- </field>
- </record>
- <record id="action_documentation_toc" model="ir.actions.act_window">
- <field name="name">Documentation</field>
- <field name="res_model">forum.documentation.toc</field>
- <field name="view_type">form</field>
- <field name="view_mode">tree</field>
- </record>
- <menuitem id="menu_documentation"
- parent="website_forum.menu_website_forum" groups="base.group_user"
- name="Documentation ToC" action="action_documentation_toc" sequence="20"/>
-
-
<!-- Project Task Kanban View -->
<record model="ir.ui.view" id="view_forum_post_kanban">
<field name="name">forum.post.kanban</field>
<openerp>
<data>
+ <!-- Front-end assets: custom css -->
+ <template id="assets_frontend" inherit_id="website.assets_frontend" name="Shop">
+ <xpath expr="." position="inside">
+ <link rel='stylesheet' href='/website_forum_doc/static/src/css/website_forum_doc.css'/>
+ </xpath>
+ </template>
+
<!-- Layout add nav and footer -->
<template id="header_footer_custom" inherit_id="website.footer_default"
name="Footer Documentation Link">
<div class="row">
<div class="col-sm-9">
<h1 class="page-header" t-field="post.name"/>
- <blockquote t-if="bool(post.content)">
+ <blockquote class="oe_toc_content" t-if="bool(post.content)">
<t t-raw="post.content"/>
</blockquote>