[silva-dev] asset_lookup: sidebar icons

Samuel Schluep schluep at iha.bepr.ethz.ch
Wed Jul 16 10:10:38 CEST 2003


Hi altogether

> I have just found something, that seems wrong to me: the icons in the
> sidebar of the 'asset_lookup' point to 'tab_edit' instead of
> 'asset_lookup?filter=Image'. The text-links are ok.

Line 50 of 'Silva/resources/sidebar_template.pt' should be:
 
        <a title="contents"
          tal:attributes="href string:${item_url}/edit/{__vein_id__}">
          <img tal:replace="structure python:here.render_icon(item)" />
        </a>

instead of

        <a title="contents"
          tal:attributes="href string:${item_url}/edit/tab_edit">
          <img tal:replace="structure python:here.render_icon(item)" />
        </a>

Best regards
Sam




More information about the silva-dev mailing list