Changeset 1309


Ignore:
Timestamp:
01/25/07 16:48:18 (13 years ago)
Author:
pjotr
Message:

Fixes #1110, now all the div is hidden if the resource is not published yet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/skins/lemill/portlet_material_actions.pt

    r1305 r1309  
    6161<tal:macro metal:define-macro="translate_actions"> 
    6262<tal:translations tal:condition="python:wf_state != 'deleted' and context.meta_type not in ['Piece', 'LeMillReference']"> 
    63 <div class="tb-portlet" tal:condition="python:(not isAnon and not no_edit_links) or here.getTranslations()" tal:define="translation_of here/getOriginal"> 
     63<div class="tb-portlet" tal:condition="python:(not isAnon and not no_edit_links and wf_state=='public') or here.getTranslations()" tal:define="translation_of here/getOriginal"> 
    6464    <ul> 
    6565        <li tal:condition="python: not isAnon and not no_edit_links and wf_state=='public'"><a href="" tal:attributes="href python:'%s/translate_resource' % here_url"><tal:block i18n:translate="label_translate">Translate</tal:block>...</a></li> 
Note: See TracChangeset for help on using the changeset viewer.