Changeset 1968


Ignore:
Timestamp:
09/03/07 14:28:15 (12 years ago)
Author:
pjotr
Message:

References #1511, got rid of empty li element

File:
1 edited

Legend:

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

    r1967 r1968  
    3939    <ul tal:condition="python:path_end!='history_view'"> 
    4040        <li><a href="" i18n:translate="label_view_history" tal:attributes="href string:${here_url}/history_view">History</a></li> 
    41         <li><a href="" i18n:translate="label_restore_this_version" tal:define="currentVersion here/REQUEST/version|nothing" tal:attributes="href python:here_url + '/restoreAVersion?timestamp=' + currentVersion" tal:condition="is_editable">Restore this version</a></li> 
     41        <li tal:condition="is_editable"><a href="" i18n:translate="label_restore_this_version" tal:define="currentVersion here/REQUEST/version|nothing" tal:attributes="href python:here_url + '/restoreAVersion?timestamp=' + currentVersion">Restore this version</a></li> 
    4242    </ul> 
    4343</div> 
Note: See TracChangeset for help on using the changeset viewer.