# HG changeset patch # User Thierry Florac # Date 1552906669 -3600 # Node ID e2f6233f9185c45100687cee5de22d0edb20fc47 # Parent bd5430acb9d4022c5e3d19b9e812b071ba377287 Updated internal content link summary info adapter diff -r bd5430acb9d4 -r e2f6233f9185 src/pyams_default_theme/shared/site/link.py --- a/src/pyams_default_theme/shared/site/link.py Mon Feb 18 16:15:17 2019 +0100 +++ b/src/pyams_default_theme/shared/site/link.py Mon Mar 18 11:57:49 2019 +0100 @@ -56,6 +56,8 @@ @property def header(self): + if not self.context.show_header: + return None header = II18n(self.context).query_attribute('navigation_header', request=self.request) if (not header) and (self.target_info is not None): header = self.target_info.header