[IMP] odoo_theme: hide the "Edit on GitHub" button for pages in legal/
closes odoo/documentation#1810 Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
parent
30f55dfd72
commit
ff79ca3a6b
@ -104,7 +104,7 @@
|
|||||||
<div role="main"> {# Beacon used by the Sphinx search to know where to look for a string #}
|
<div role="main"> {# Beacon used by the Sphinx search to know where to look for a string #}
|
||||||
{%- block body %} {%- endblock %}
|
{%- block body %} {%- endblock %}
|
||||||
</div>
|
</div>
|
||||||
{%- if github_link and pagename != 'search' %}
|
{%- if github_link and pagename != 'search' and not pagename.startswith('legal') %}
|
||||||
<a href="{{ github_link(mode='edit') }}"
|
<a href="{{ github_link(mode='edit') }}"
|
||||||
class="o_git_link d-none d-lg-inline-block">
|
class="o_git_link d-none d-lg-inline-block">
|
||||||
<i class="i-edit"></i> Edit on GitHub
|
<i class="i-edit"></i> Edit on GitHub
|
||||||
|
Loading…
Reference in New Issue
Block a user