--- a/src/pyams_content/features/menu/portlet/navigation/double.py Tue Jul 17 18:01:54 2018 +0200
+++ b/src/pyams_content/features/menu/portlet/navigation/double.py Tue Jul 17 18:08:54 2018 +0200
@@ -46,7 +46,6 @@
"""Double navigation portlet settings"""
title = FieldProperty(IDoubleNavigationPortletSettings['title'])
- subtitle = FieldProperty(IDoubleNavigationPortletSettings['subtitle'])
@property
def menus(self):
--- a/src/pyams_content/features/menu/portlet/navigation/interfaces/double.py Tue Jul 17 18:01:54 2018 +0200
+++ b/src/pyams_content/features/menu/portlet/navigation/interfaces/double.py Tue Jul 17 18:08:54 2018 +0200
@@ -32,10 +32,6 @@
description=_("Portlet main title"),
required=False)
- subtitle = I18nTextLineField(title=_("Subtitle"),
- description=_("Portlet subtitle"),
- required=False)
-
menus = Attribute("Navigation menus")
--- a/src/pyams_content/features/menu/portlet/navigation/interfaces/simple.py Tue Jul 17 18:01:54 2018 +0200
+++ b/src/pyams_content/features/menu/portlet/navigation/interfaces/simple.py Tue Jul 17 18:08:54 2018 +0200
@@ -32,10 +32,6 @@
description=_("Portlet main title"),
required=False)
- subtitle = I18nTextLineField(title=_("Subtitle"),
- description=_("Portlet subtitle"),
- required=False)
-
links = Attribute("Navigation links")
--- a/src/pyams_content/features/menu/portlet/navigation/simple.py Tue Jul 17 18:01:54 2018 +0200
+++ b/src/pyams_content/features/menu/portlet/navigation/simple.py Tue Jul 17 18:08:54 2018 +0200
@@ -46,7 +46,6 @@
"""Simple navigation portlet settings"""
title = FieldProperty(ISimpleNavigationPortletSettings['title'])
- subtitle = FieldProperty(ISimpleNavigationPortletSettings['subtitle'])
@property
def links(self):
--- a/src/pyams_content/features/menu/portlet/navigation/zmi/templates/double-preview.pt Tue Jul 17 18:01:54 2018 +0200
+++ b/src/pyams_content/features/menu/portlet/navigation/zmi/templates/double-preview.pt Tue Jul 17 18:08:54 2018 +0200
@@ -1,6 +1,5 @@
<div tal:define="settings view.settings" i18n:domain="pyams_content">
<strong tal:content="i18n:settings.title">Title</strong>
- <tal:var define="subtitle i18n:settings.subtitle" condition="subtitle" content="subtitle" />
<ul>
<li tal:repeat="menu settings.menus.get_visible_items(request)">
<span tal:content="i18n:menu.title">Title</span>
--- a/src/pyams_content/features/menu/portlet/navigation/zmi/templates/simple-preview.pt Tue Jul 17 18:01:54 2018 +0200
+++ b/src/pyams_content/features/menu/portlet/navigation/zmi/templates/simple-preview.pt Tue Jul 17 18:08:54 2018 +0200
@@ -1,6 +1,5 @@
<div tal:define="settings view.settings" i18n:domain="pyams_content">
<strong tal:content="i18n:settings.title">Title</strong>
- <tal:var define="subtitle i18n:settings.subtitle" condition="subtitle" content="subtitle" />
<ul>
<li tal:repeat="link settings.links.get_visible_items(request)">
<i class="fa fa-fw fa-eye-slash text-danger hint opaque align-base"