[IMP] models: move prefetching of records back to method _prefetch_field
[odoo/odoo.git] / doc / _themes / sphinx_bootstrap_theme / bootstrap / navbar-2.html
1   <div id="navbar" class="{{ theme_navbar_class }} {% if theme_navbar_fixed_top == 'true' -%} navbar-fixed-top{%- endif -%}">
2     <div class="navbar-inner">
3       <div class="container">
4         <!-- .btn-navbar is used as the toggle for collapsed navbar content -->
5         <button class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
6           <span class="icon-bar"></span>
7           <span class="icon-bar"></span>
8           <span class="icon-bar"></span>
9         </button>
10
11         <a class="brand" href="{{ pathto(master_doc) }}">
12           {%- block sidebarlogo %}
13             {%- if logo %}<img src="{{ pathto('_static/' + logo, 1) }}">{%- endif %}
14           {%- endblock %}
15           {% if theme_navbar_title -%}{{ theme_navbar_title|e }}{%- else -%}{{ project|e }}{%- endif -%}
16         </a>
17         <span class="navbar-text pull-left"><b>{{ version|e }}</b></span>
18
19         <div class="nav-collapse">
20           <ul class="nav">
21             <li class="divider-vertical"></li>
22             {% if theme_navbar_links %}
23               {%- for link in theme_navbar_links %}
24                 <li><a href="{{ pathto(*link[1:]) }}">{{ link[0] }}</a></li>
25               {%- endfor %}
26             {% endif %}
27             {% block navbartoc %}
28               {% include "globaltoc.html" %}
29               {% if theme_navbar_pagenav %}
30                 {% include "navbartoc.html" %}
31               {% endif %}
32             {% endblock %}
33             {% if theme_navbar_sidebarrel %}
34               {% block sidebarrel %}
35                 {% include "relations.html" %}
36               {% endblock %}
37             {% endif %}
38             {% block navbarextra %}
39             {% endblock %}
40             {% if theme_source_link_position == "nav" %}
41               <li>{% include "sourcelink.html" %}</li>
42             {% endif %}
43           </ul>
44
45           {% block navbarsearch %}
46             {% include "navbarsearchbox.html" %}
47           {% endblock %}
48         </div>
49       </div>
50     </div>
51   </div>