Annotation of ECHO_content/zpt/ECHO_collection_template_standard.zpt, revision 1.5

1.5     ! jdamerow    1:  
1.4       jdamerow    2: <table class="collection" border="0" cellpadding="6" width="100%">
                      3: <div tal:omit-tag="" tal:define="item python:here">
                      4: 
                      5: 
                      6: <!-- Headline (Label and Title) for ECHO_collections -->
                      7: <tr tal:condition="python:here.meta_type=='ECHO_collection'">
                      8:    <td width="135" align="center">
                      9:        <a class="label" tal:content="structure here/getLabel" tal:attributes="href python:here.absolute_url()">
                     10:            label
                     11:        </a>
                     12:    </td>
                     13:    <td>
                     14:        <h3 class="collection">
                     15:            <a tal:content="structure here/getTitle" tal:attributes="href python:here.absolute_url()">
                     16:                Title 
                     17:            </a>
                     18:        </h3>
                     19:    </td>
                     20: </tr>
                     21: <!-- -->
                     22: 
                     23: <!-- Headline (Label and Title) for ECHO_links -->
                     24: <tr tal:condition="not:python:here.meta_type=='ECHO_collection'">
                     25: <td width="135px" align="center">
                     26:    <a class="label" target="_blank" tal:content="structure here/getLabel" tal:attributes="href python:here.absolute_url()">
                     27:        label
                     28:    </a>
                     29: </td>
                     30: <td>
                     31:    <h3 class="collection">
                     32:        <a target="_blank" tal:content="structure here/getTitle" tal:attributes="href python:here.absolute_url()">
                     33:            Title 
                     34:        </a>
                     35:    </h3>
                     36: </td>
                     37: </tr>
                     38: <!-- -->
                     39: 
                     40: <!-- Institution Logos -->
                     41: <span tal:omit-tag="" tal:condition="item/credits">
                     42:    <span tal:repeat="credit item/credits">
                     43:        <span tal:omit-tag="" tal:condition="not:python:credit==''">
                     44:        <tr>
                     45:            <td align="right" valign="middle" width="135pt">
                     46:                <span tal:content="structure python:here.getCreditObject(credit)">
                     47:                    title
                     48:                </span>
                     49:            </td>
                     50:            <td>
                     51:            
                     52: <!-- Institution Links -->
                     53: <!-- link of the institution exists -->
                     54:                <span tal:condition="python:here.getCreditObject(credit).url">
                     55:                <h4>
                     56:                    <a tal:attributes="href python:here.getCreditObject(credit).url" target="_blank">
                     57:                        <span tal:content="python:here.getCreditObject(credit).title">
                     58:                            title
                     59:                        </span>
                     60:                    </a>
                     61:                </h4>
                     62:            </span>
                     63: <!-- -->
                     64: <!-- no link -->
                     65:            <span tal:condition="not:python:here.getCreditObject(credit).url">
                     66:            <h4>
                     67:                <span tal:content="python:here.getCreditObject(credit).title">
                     68:                    title
                     69:                </span>
                     70:            </h4>
                     71:        </span>
                     72: <!-- -->
                     73: <!-- -->
                     74:    </td>
                     75: </tr>
                     76: </span>
                     77: </span>
                     78: </span>
                     79: <tr>
                     80: <td colspan="2">
                     81:    <span tal:condition="item/description">
                     82:    <p>
                     83:        <span tal:replace="structure item/description">
                     84:            DESCRIPTION
                     85:        </span>
                     86:    </p>
                     87: </span>
                     88: </td>
                     89: </tr>
                     90: <span tal:condition="python:here.getSubCols(subColTypes=['ECHO_externalLink'])">
                     91: <tr>
                     92:    <td colspan="2">
                     93:        <b>
                     94:            Other Presentations on the Web: 
                     95:        </b>
                     96:        <br>
                     97:        &nbsp; 
                     98:        <div tal:omit-tag="" tal:repeat="item python:here.getSubCols(subColTypes=['ECHO_externalLink'])">
                     99:            <div tal:replace="structure item/content_html" />
                    100:        </div>
                    101:    </td>
                    102: </tr>
                    103: </span>
                    104: 
                    105: 
                    106: </div>
                    107: </table>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>