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