User Tools

Site Tools


overview_html

overview.html

  <!-- NOT CHANGE THE FOLLOWING -->
  
  <html metal:use-macro="here/main_template/macros/page">
  <head>
  <title>Default</title>
  </head>
  <body>
  
  <span metal:fill-slot="body">
    
    <!-- EDITABLE AREA -->
    
    <!-- builds the navigation on the top of the page (pulldown menu and links) -->
    <span tal:replace="structure here/showFolders"/>
    <span tal:replace="structure here/showRuler"/> 
    <!-- /navigation -->
  
    <table tal:define="colRows python:here.getColTimesRow(here.REQUEST.SESSION.get('showall','no'))"> 
    <tal:block tal:repeat="i python:here.show_thumbs_rows(colRows[0],numberOfRows=colRows[1])">
      <tr>
      <tal:block tal:repeat="thumb python:here.show_thumbs_columns(i,colRows[0])">
  
      <td valign="top" tal:condition="python:getattr(here,thumb).isAccessible()">
   
        <table>
        
        <!-- if you have set access rights, they are checked here -->
        <!-- if you didn't set them, you maybe have to comment the following out -->
        <tr tal:condition="not:python:getattr(here,thumb).getAccessRight()=='extern'">
          <td>
              <span style="color: red;">Intern only</span>
          </td>
        </tr>
        <!-- /access rights -->
        
        <tr>
          <td>
              <span tal:replace="structure python:getattr(getattr(here,thumb),'thumbMD')()"/>
          </td>  
        </tr>
        </table>
  
     </td>
    
     </tal:block>
     </tr>
     
     <!-- horizontal line -->
     <tr>
        <td tal:attributes="colspan python:colRows[0]">
           <hr>
        </td>
     </tr>
     <!-- /line -->
     </tal:block>
     </table>
    
     <!-- /EDITABLE AREA -->
   
  </span>
  </body>
  </html>
overview_html.txt · Last modified: 2020/10/10 14:13 by 127.0.0.1