File:  [Repository] / ECHO_content / zpt / ECHO_movie_template_standard.zpt
Revision 1.6: download - view: text, annotated - select for diffs - revision graph
Sun May 1 06:21:20 2005 UTC (19 years, 2 months ago) by mdh
Branches: MAIN
CVS tags: cleanup, Root_cleanup, HEAD
further cleanup of template

    1: <table cellpadding="3" width="95%" border=0>
    2: 	<tr>
    3: 		
    4: 		<td colspan="2">
    5: 			<!-- Label -->
    6: 			<!-- with link if there is one -->
    7: 			<span tal:condition="here/link">
    8: 				        
    9: 					<b><tal:block tal:content="structure here/getLabel"/>
   10:                         </span>
   11: 
   12: 			<!-- without link if there isn't one -->
   13: 			<span tal:condition="not:here/link">
   14: 				<u>
   15: 					<b tal:content="structure here/getLabel">
   16: 						label</b>
   17: 				</u>
   18: 			</span>
   19: 			<!-- -->
   20: 			
   21: 		</td>
   22: 	</tr>
   23: 	
   24: 	<tr>
   25: 		
   26: 		<td width="200">
   27: 		        <!--Thumb-->
   28:                         <a tal:attributes="href string:${here/id}/RDF">
   29: 				<img tal:attributes="src python:here.thumbUrl" border="no">
   30: 			</a>
   31: 		</td>
   32:                 <td>
   33: 			<span tal:condition="here/link">
   34:                         	<b>large format:</b>
   35:                                 [<a tal:attributes="href python:here.linkHTTP()" target="_blank">http</a>]
   36: 			</span><br>
   37: 			<span tal:condition="here/lowresHTTP">
   38:                                 <b>small format:</b>
   39: 			        [<a tal:attributes="href python:here.lowresHTTP()" target="_blank">http</a>] [<a tal:attributes="href python:here.lowresRTSP()">streaming</a>]
   40: 			</span><br>
   41:                         <b>[<a tal:attributes="href string:${here/id}/RDF">RDF metadata</a>]</b>
   42: 
   43: 	<p tal:condition="here/description">
   44: 		<span tal:replace="structure here/description">
   45: 			DESCRIPTION
   46: 		</span>
   47: 	</p>
   48: 
   49:                 </td>
   50: 	</tr>
   51: <!--
   52:         <tr>
   53: 	      <td>
   54: 		The raw file can be found at<br>
   55: 		  <a tal:attributes="href here/rawFile" tal:content="here/rawFile"/>
   56: 	     </td>
   57:         </tr>
   58: -->
   59: 	
   60: 	<!-- Description if there is one -->
   61: 	
   62: 	<!-- Copyrights -->
   63: 	
   64: 	<tr tal:condition="not:python:here.getCopyrightsHTML()=='ERROR'">
   65: 		<td align=right>
   66: 			<span tal:repeat="item python:here.getCopyrightsHTML()">
   67: 			    <span tal:condition="not:python:item[0] == 'empty'">
   68: 			    	<a tal:attributes="href python:item[0]" target="_blank">
   69: 			    	<span tal:content="structure python:item[4]"/>
   70: 			    	<span tal:condition="not:python:item[1]=='all'">
   71: 			    	(<span tal:content="python:item[1]"/>)</span>
   72: 					<span tal:content="python:here.getPartnerFromIDParameter(item[2])[0][1].title"/><br>
   73: 					</a>
   74: 				</span>
   75: 				<span tal:condition="python:item[0] == 'empty'">
   76: 			    	<span tal:content="structure python:item[4]"/>
   77: 			    	<span tal:condition="not:python:item[1]=='all'">
   78: 			    	(<span tal:content="python:item[1]"/>)</span>
   79: 					<span tal:content="python:here.getPartnerFromIDParameter(item[2])[0][1].title"/><br>
   80: 				</span>
   81: 				
   82: 			</span>
   83: 		</td>
   84: 	</tr>
   85: 	
   86: 	<!-- -->
   87: 	
   88: 	
   89: 	<tr tal:condition="python:here.getSubCols(subColTypes=['ECHO_externalLink'])">
   90: 		
   91: 		<td>
   92: 			<!-- Lists externalLinks if there are some -->
   93: 			<table border="0">
   94: 				<tr>
   95: 					<td width="10px">
   96: 					</td>
   97: 					<td>
   98: 						<h4>
   99: 							Futher Information: 
  100: 						</h4>
  101: 					</td>
  102: 				</tr>
  103: 				<tr>
  104: 					<td>
  105: 					</td>
  106: 					<td>
  107: 						<div tal:omit-tag="" tal:repeat="item python:here.getSubCols(subColTypes=['ECHO_externalLink'])">
  108: 							<div tal:replace="structure item/content_html" />
  109: 						</div>
  110: 					</td>
  111: 				</tr>
  112: 			</table>
  113: 			<!-- -->
  114: 		</td>
  115: 	</tr>
  116: 	
  117: </table>

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