provide listings with description and other informations for concepts (children, resources) and special listings (listresources, listchildren)
git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@1613 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
7e414d2cbb
commit
3278e2abed
3 changed files with 24 additions and 14 deletions
|
@ -66,8 +66,7 @@
|
|||
<tr tal:define="description related/description"
|
||||
tal:condition="description"
|
||||
tal:attributes="class class">
|
||||
<td> </td>
|
||||
<td colspan="2">
|
||||
<td colspan="3" style="padding-left: 7em">
|
||||
<i tal:content="description">describing...</i>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -105,8 +104,7 @@
|
|||
<tr tal:define="description related/description"
|
||||
tal:condition="description"
|
||||
tal:attributes="class class">
|
||||
<td> </td>
|
||||
<td colspan="2">
|
||||
<td colspan="3" style="padding-left: 7em">
|
||||
<i tal:content="description">describing...</i>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -144,7 +144,7 @@
|
|||
<a href="#"
|
||||
tal:attributes="href string:${view/url}/.target${related/uniqueId}"
|
||||
tal:content="related/title">Resource Title</a>
|
||||
<div style="margin-left: 3em"
|
||||
<div style="margin-left: 5em"
|
||||
tal:define="description related/description"
|
||||
tal:condition="description">
|
||||
<i tal:content="description">Description</i>
|
||||
|
@ -171,7 +171,7 @@
|
|||
<a href="#"
|
||||
tal:attributes="href string:${view/url}/.target${related/uniqueId}"
|
||||
tal:content="related/title">Resource Title</a>
|
||||
<div style="margin-left: 3em"
|
||||
<div style="margin-left: 5em"
|
||||
tal:define="description related/description"
|
||||
tal:condition="description">
|
||||
<i tal:content="description">Description</i>
|
||||
|
|
|
@ -50,17 +50,29 @@
|
|||
<tr>
|
||||
<th i18n:translate="label_title">Title</th>
|
||||
<th i18n:translate="label_type">Type</th>
|
||||
<th i18n:translate="label_modifdate">Modification Date</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr tal:repeat="row view/results">
|
||||
<td>
|
||||
<a tal:attributes="href string:${view/url}/.target${row/uniqueId}"
|
||||
tal:content="row/title" />
|
||||
</td>
|
||||
<td tal:content="row/typeTitle">
|
||||
</td>
|
||||
</tr>
|
||||
<tal:items tal:repeat="row view/results">
|
||||
<tal:item define="class python: repeat['row'].odd() and 'even' or 'odd'">
|
||||
<tr tal:attributes="class class">
|
||||
<td>
|
||||
<a tal:attributes="href string:${view/url}/.target${row/uniqueId}"
|
||||
tal:content="row/title" />
|
||||
</td>
|
||||
<td tal:content="row/typeTitle">Type</td>
|
||||
<td><span tal:replace="row/modified">Type</span></td>
|
||||
</tr>
|
||||
<tr tal:define="description row/description"
|
||||
tal:condition="description"
|
||||
tal:attributes="class class">
|
||||
<td colspan="3" style="padding-left: 7em">
|
||||
<i tal:content="description">describing...</i>
|
||||
</td>
|
||||
</tr>
|
||||
</tal:item>
|
||||
</tal:items>
|
||||
</tbody>
|
||||
</table>
|
||||
</fieldset>
|
||||
|
|
Loading…
Add table
Reference in a new issue