[FIX] only render the navbar when website is set (ie not during tests of the reports)

This commit is contained in:
Simon Lejeune 2014-06-27 18:28:34 +02:00
parent 20f4da67b3
commit 76039b2a37
1 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,7 @@
<!-- Front-end/Back-end integration -->
<template id="user_navbar" inherit_id="website.layout" groups="base.group_user">
<xpath expr="//body/div['id=wrawrap']" position="before">
<t t-if="website">
<nav id="oe_main_menu_navbar" class="navbar navbar-inverse" role="navigation">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#oe_applications">
@ -79,6 +80,7 @@
</li>
</ul>
</nav>
</t>
</xpath>
</template>
</data>