Version 0.1.31 0.1.31
authorThierry Florac <thierry.florac@onf.fr>
Mon, 14 Jan 2019 17:44:24 +0100
changeset 376 a8104b450757
parent 375 ffa93e194121
child 377 a85e1863d73d
Version 0.1.31
buildout.cfg
docs/HISTORY.txt
setup.py
src/pyams_default_theme.egg-info/PKG-INFO
src/pyams_default_theme/shared/site/portlet/templates/site-panels-vertical.pt
src/pyams_default_theme/shared/site/portlet/templates/site-panels.pt
--- a/buildout.cfg	Mon Jan 14 17:30:59 2019 +0100
+++ b/buildout.cfg	Mon Jan 14 17:44:24 2019 +0100
@@ -79,4 +79,4 @@
 eggs = pyams_default_theme [test]
 
 [versions]
-pyams_default_theme = 0.1.30
+pyams_default_theme = 0.1.31
--- a/docs/HISTORY.txt	Mon Jan 14 17:30:59 2019 +0100
+++ b/docs/HISTORY.txt	Mon Jan 14 17:44:24 2019 +0100
@@ -1,6 +1,10 @@
 History
 =======
 
+0.1.31
+------
+ - updated site summary "panels" renderers templates
+
 0.1.30
 ------
  - added wrapper class to verbatim quotes container
--- a/setup.py	Mon Jan 14 17:30:59 2019 +0100
+++ b/setup.py	Mon Jan 14 17:44:24 2019 +0100
@@ -22,7 +22,7 @@
 README = os.path.join(DOCS, 'README.txt')
 HISTORY = os.path.join(DOCS, 'HISTORY.txt')
 
-version = '0.1.30'
+version = '0.1.31'
 long_description = open(README).read() + '\n\n' + open(HISTORY).read()
 
 tests_require = []
--- a/src/pyams_default_theme.egg-info/PKG-INFO	Mon Jan 14 17:30:59 2019 +0100
+++ b/src/pyams_default_theme.egg-info/PKG-INFO	Mon Jan 14 17:44:24 2019 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: pyams-default-theme
-Version: 0.1.30
+Version: 0.1.31
 Summary: PyAMS default theme
 Home-page: http://hg.ztfy.org/pyams/pyams_default_theme
 Author: Thierry Florac
@@ -11,6 +11,10 @@
         History
         =======
         
+        0.1.31
+        ------
+         - updated site summary "panels" renderers templates
+        
         0.1.30
         ------
          - added wrapper class to verbatim quotes container
--- a/src/pyams_default_theme/shared/site/portlet/templates/site-panels-vertical.pt	Mon Jan 14 17:30:59 2019 +0100
+++ b/src/pyams_default_theme/shared/site/portlet/templates/site-panels-vertical.pt	Mon Jan 14 17:44:24 2019 +0100
@@ -1,37 +1,39 @@
-<div class="panels" i18n:domain="pyams_default_theme"
-	 tal:define="settings view.settings;
+<div tal:define="settings view.settings;
 				 button_title i18n:settings.button_title;
-				 title i18n:settings.title;">
+				 title i18n:settings.title;"
+	 i18n:domain="pyams_default_theme">
 	<h2 tal:condition="title">${title}</h2>
-	<div tal:repeat="item view.visible_items"
-		 class="panel col-md-3 col-sm-4">
-		<tal:var define="target tales:relative_url(item.context)">
-			<div tal:define="illustration tales:pyams_illustration(item.context)"
-				 tal:condition="illustration"
-				 class="thumbnail pull-left col-sm-12 hidden-xs">
-				<a href="${target}">
-					<tal:if define="image i18n:illustration.data;
-									alt i18n:illustration.alt_title;"
-							condition="image">
-						${structure:tales:picture(image, lg_thumb='portrait', lg_width=3, md_thumb='portrait', md_width=3,
-												  sm_thumb='pano', sm_width=12, xs_thumb='pano', xs_width=0, alt=alt)}
-					</tal:if>
-				</a>
-			</div>
-			<div>
-				<a href="${target}">
-					<h3>${item.title}</h3>
-				</a>
-				<div class="header">${structure:tales:html(item.header)}</div>
-				<div class="action">
-					<a tal:condition="button_title"
-					   class="btn btn-default"
-					   href="${target}">
-						<span i18n:translate="">${button_title}</span>
+	<div class="panels">
+		<div tal:repeat="item view.visible_items"
+			 class="panel col-md-3 col-sm-4">
+			<tal:var define="target tales:relative_url(item.context)">
+				<div tal:define="illustration tales:pyams_illustration(item.context)"
+					 tal:condition="illustration"
+					 class="thumbnail pull-left col-sm-12 hidden-xs">
+					<a href="${target}">
+						<tal:if define="image i18n:illustration.data;
+										alt i18n:illustration.alt_title;"
+								condition="image">
+							${structure:tales:picture(image, lg_thumb='portrait', lg_width=3, md_thumb='portrait', md_width=3,
+													  sm_thumb='pano', sm_width=12, xs_thumb='pano', xs_width=0, alt=alt)}
+						</tal:if>
 					</a>
 				</div>
-			</div>
-		</tal:var>
+				<div>
+					<a href="${target}">
+						<h3>${item.title}</h3>
+					</a>
+					<div class="header">${structure:tales:html(item.header)}</div>
+					<div class="action">
+						<a tal:condition="button_title"
+						   class="btn btn-default"
+						   href="${target}">
+							<span i18n:translate="">${button_title}</span>
+						</a>
+					</div>
+				</div>
+			</tal:var>
+		</div>
+		<div class="clearfix"></div>
 	</div>
-	<div class="clearfix"></div>
 </div>
--- a/src/pyams_default_theme/shared/site/portlet/templates/site-panels.pt	Mon Jan 14 17:30:59 2019 +0100
+++ b/src/pyams_default_theme/shared/site/portlet/templates/site-panels.pt	Mon Jan 14 17:44:24 2019 +0100
@@ -1,37 +1,39 @@
-<div class="panels" i18n:domain="pyams_default_theme"
-	 tal:define="settings view.settings;
+<div tal:define="settings view.settings;
 				 button_title i18n:settings.button_title;
-				 title i18n:settings.title;">
+				 title i18n:settings.title;"
+	 i18n:domain="pyams_default_theme">
 	<h2 tal:condition="title">${title}</h2>
-	<div tal:repeat="item view.visible_items"
-		 class="panel col-sm-4">
-		<tal:var define="target tales:relative_url(item.context)">
-			<div tal:define="illustration tales:pyams_illustration(item.context)"
-				 tal:condition="illustration"
-			     class="thumbnail pull-left col-sm-12 hidden-xs">
-				<a href="${target}">
-					<tal:if define="image i18n:illustration.data;
-									alt i18n:illustration.alt_title;"
-							condition="image">
-						${structure:tales:picture(image, lg_thumb='pano', lg_width=4, md_thumb='pano', md_width=4,
-												  sm_thumb='pano', sm_width=4, xs_thumb='pano', xs_width=0, alt=alt)}
-					</tal:if>
-				</a>
-			</div>
-			<div>
-				<a href="${target}">
-					<h3>${item.title}</h3>
-				</a>
-				<div class="header">${structure:tales:html(item.header)}</div>
-				<div class="action">
-					<a tal:condition="button_title"
-					   class="btn btn-default"
-					   href="${target}">
-						<span i18n:translate="">${button_title}</span>
+	<div class="panels">
+		<div tal:repeat="item view.visible_items"
+			 class="panel col-sm-4">
+			<tal:var define="target tales:relative_url(item.context)">
+				<div tal:define="illustration tales:pyams_illustration(item.context)"
+					 tal:condition="illustration"
+					 class="thumbnail pull-left col-sm-12 hidden-xs">
+					<a href="${target}">
+						<tal:if define="image i18n:illustration.data;
+										alt i18n:illustration.alt_title;"
+								condition="image">
+							${structure:tales:picture(image, lg_thumb='pano', lg_width=4, md_thumb='pano', md_width=4,
+													  sm_thumb='pano', sm_width=4, xs_thumb='pano', xs_width=0, alt=alt)}
+						</tal:if>
 					</a>
 				</div>
-			</div>
-		</tal:var>
+				<div>
+					<a href="${target}">
+						<h3>${item.title}</h3>
+					</a>
+					<div class="header">${structure:tales:html(item.header)}</div>
+					<div class="action">
+						<a tal:condition="button_title"
+						   class="btn btn-default"
+						   href="${target}">
+							<span i18n:translate="">${button_title}</span>
+						</a>
+					</div>
+				</div>
+			</tal:var>
+		</div>
+		<div class="clearfix"></div>
 	</div>
-	<div class="clearfix"></div>
-</div>
\ No newline at end of file
+</div>