Changeset 720

Show
Ignore:
Timestamp:
03/21/07 18:59:54 (2 years ago)
Author:
sgillies
Message:

Changes to thesaurus views to work under /thesaurus

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • PleiadesEntity/trunk/skins/PleiadesEntity/thesaurus_macros.pt

    r703 r720  
    1414      <tal:chunk 
    1515        tal:define="contentFilter python:{'meta_type':['VdexTerm']}; 
    16                     contentsMethod python:here.getFolderContents; 
     16                    contentsMethod python:vocab.getFolderContents; 
    1717                    folderContents python:contentsMethod(contentFilter);" 
    1818        > 
  • PleiadesEntity/trunk/skins/PleiadesEntity/thesaurus_view.pt

    r703 r720  
    7575            header_macro view_macros/header | header_macro | base_macros/header; 
    7676            body_macro view_macros/body | body_macro | base_macros/body; 
    77             folderlisting_macro here/thesaurus_macros/macros/termlisting | folderlisting | base_macros/folderlisting; 
     77            termlisting_macro here/thesaurus_macros/macros/termlisting | folderlisting | base_macros/folderlisting; 
    7878            footer_macro view_macros/footer | footer_macro | base_macros/footer; 
    79             errors python:request.get('errors', {})"> 
     79            errors python:request.get('errors', {}); 
     80            t request/t; 
     81            vocab python:container.portal_vocabularies.getVocabularyByName(t)"> 
    8082 
    8183        <metal:use_header use-macro="header_macro" /> 
    82         <metal:use_body use-macro="folderlisting_macro" /> 
     84        <metal:use_body use-macro="termlisting_macro" /> 
    8385        <metal:use_footer use-macro="footer_macro" /> 
    8486 
    8587      </metal:main_macro> 
    8688    </metal:fill> 
     89 
    8790  </body> 
    8891</html>