Changeset 1381


Ignore:
Timestamp:
02/19/07 15:13:34 (13 years ago)
Author:
pjotr
Message:

Now Original and Translations will not give us links to fullscreen view any more

File:
1 edited

Legend:

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

    r1353 r1381  
    7777        <li tal:condition="python: not isAnon 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> 
    7878        <li tal:condition="translation_of"> 
    79             <a href="" tal:attributes="href translation_of/absolute_url" i18n:translate="link_original_translated">Original</a> 
     79            <a href="" tal:attributes="href string:${translation_of/absolute_url}/view" i18n:translate="link_original_translated">Original</a> 
    8080            (<span tal:replace="python:here.script_getPrettyLanguage(translation_of.Language())"/>) 
    8181        </li> 
     
    9191                    <tal:defs tal:define="tlang python:rr.Language()"> 
    9292                     <li tal:condition="python:tlang in user_langs and tlang!=context.Language()"> 
    93                       <a href="" tal:content="python:here.script_getPrettyLanguage(tlang)" tal:attributes="href rr/absolute_url | nothing"></a> 
     93                     <a href="" tal:content="python:here.script_getPrettyLanguage(tlang)" tal:define="translation_url string:${rr/absolute_url}/view" tal:attributes="href translation_url | nothing"></a> 
    9494                     </li> 
    9595                     <li tal:condition="python:tlang==context.Language()" tal:content="python:here.script_getPrettyLanguage(tlang)" /> 
Note: See TracChangeset for help on using the changeset viewer.