Mercurial > hg > ChinaGisRestApi
comparison 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 |
comparison
equal
deleted
inserted
replaced
251:477b054e9357 | 252:efd2469d1722 |
---|---|
12 <h2>table <span tal:replace="table"/></h2> | 12 <h2>table <span tal:replace="table"/></h2> |
13 <tal:block tal:condition="python:layout=='table'"> | 13 <tal:block tal:condition="python:layout=='table'"> |
14 <table tal:attributes="id element_id"> | 14 <table tal:attributes="id element_id"> |
15 <thead> | 15 <thead> |
16 <tr> | 16 <tr> |
17 <th tal:repeat="field fields" tal:content="python:field[0]"/> | 17 <th tal:repeat="field fields" tal:content="python:field[0].replace('st_astext','geometry',1)"/> |
18 </tr> | 18 </tr> |
19 </thead> | 19 </thead> |
20 <tbody> | 20 <tbody> |
21 <tr tal:repeat="row rows"> | 21 <tr tal:repeat="row rows"> |
22 <td tal:repeat="col row" tal:content="col"/> | 22 <td tal:repeat="col row" tal:content="col"/> |