--- a/src/pyams_default_theme/features/menu/portlet/navigation/__init__.py Mon Jun 18 09:20:08 2018 +0200
+++ b/src/pyams_default_theme/features/menu/portlet/navigation/__init__.py Mon Jun 18 09:27:59 2018 +0200
@@ -37,12 +37,22 @@
@adapter_config(context=(IPortalContext, IPyAMSLayer, Interface, ISimpleNavigationPortletSettings),
provides=IPortletRenderer)
@template_config(template='templates/simple-horizontal.pt', layer=IPyAMSLayer)
-class SimpleNavigationDefaultPortletRenderer(PortletRenderer):
- """Simple navigation default portlet renderer"""
+class SimpleNavigationPortletHorizontalRenderer(PortletRenderer):
+ """Simple navigation horizontal portlet renderer"""
label = _("Horizontal list with vertical illustrations")
+@adapter_config(name='horizontal-tabs',
+ context=(IPortalContext, IPyAMSLayer, Interface, ISimpleNavigationPortletSettings),
+ provides=IPortletRenderer)
+@template_config(template='templates/simple-horizontal-tabs.pt', layer=IPyAMSLayer)
+class SimpleNavigationPortletHorizontalTabsRenderer(PortletRenderer):
+ """Simple navigation horizontal portlet renderer with tabs"""
+
+ label = _("Horizontal list with tabs and horizontal illustrations")
+
+
#
# Double navigation portlet renderers
#
Binary file src/pyams_default_theme/locales/fr/LC_MESSAGES/pyams_default_theme.mo has changed
--- a/src/pyams_default_theme/locales/fr/LC_MESSAGES/pyams_default_theme.po Mon Jun 18 09:20:08 2018 +0200
+++ b/src/pyams_default_theme/locales/fr/LC_MESSAGES/pyams_default_theme.po Mon Jun 18 09:27:59 2018 +0200
@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE 1.0\n"
-"POT-Creation-Date: 2018-06-18 09:06+0200\n"
+"POT-Creation-Date: 2018-06-18 09:25+0200\n"
"PO-Revision-Date: 2017-06-07 12:41+0200\n"
"Last-Translator: Thierry Florac <tflorac@ulthar.net>\n"
"Language-Team: French\n"
@@ -220,7 +220,11 @@
msgid "Horizontal list with vertical illustrations"
msgstr "Liste horizontale avec illustrations verticales (par défaut)"
-#: src/pyams_default_theme/features/menu/portlet/navigation/__init__.py:56
+#: src/pyams_default_theme/features/menu/portlet/navigation/__init__.py:53
+msgid "Horizontal list with tabs and horizontal illustrations"
+msgstr "Liste horizontale avec onglets et illustrations panoramiques"
+
+#: src/pyams_default_theme/features/menu/portlet/navigation/__init__.py:66
msgid "Vertical list with small horizontal menus illustrations"
msgstr "Liste verticale avec illustrations horizontales"
--- a/src/pyams_default_theme/locales/pyams_default_theme.pot Mon Jun 18 09:20:08 2018 +0200
+++ b/src/pyams_default_theme/locales/pyams_default_theme.pot Mon Jun 18 09:27:59 2018 +0200
@@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE 1.0\n"
-"POT-Creation-Date: 2018-06-18 09:06+0200\n"
+"POT-Creation-Date: 2018-06-18 09:25+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -203,6 +203,10 @@
msgid "Horizontal list with vertical illustrations"
msgstr ""
-#: ./src/pyams_default_theme/features/menu/portlet/navigation/__init__.py:56
+#: ./src/pyams_default_theme/features/menu/portlet/navigation/__init__.py:53
+msgid "Horizontal list with tabs and horizontal illustrations"
+msgstr ""
+
+#: ./src/pyams_default_theme/features/menu/portlet/navigation/__init__.py:66
msgid "Vertical list with small horizontal menus illustrations"
msgstr ""