diff zpt/HTML_schema_table.zpt @ 252:efd2469d1722

geometry-column of tables will be displayed as string
author fknauft
date Tue, 20 Sep 2011 11:19:35 +0200
parents 9ec7e32e8ad3
children d1b43624cc63
line wrap: on
line diff
--- a/zpt/HTML_schema_table.zpt	Mon Sep 19 16:33:02 2011 +0200
+++ b/zpt/HTML_schema_table.zpt	Tue Sep 20 11:19:35 2011 +0200
@@ -14,7 +14,7 @@
     <table tal:attributes="id element_id">
       <thead>
         <tr>
-	      <th tal:repeat="field fields" tal:content="python:field[0]"/>
+	      <th tal:repeat="field fields" tal:content="python:field[0].replace('st_astext','geometry',1)"/>
         </tr>
       </thead>
       <tbody>