breadcrumb.pt 2.03 KB
Newer Older
Jean-Paul Smets's avatar
Jean-Paul Smets committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
<span tal:replace="nothing">
<!--
Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
                   Thierry Faucher     <tf@nexedi.com>

This program is Free Software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
-->
</span>
<html>
  <head>
    <title tal:content="template/title">The title</title>
  </head>
  <body>
    <div metal:define-macro="small_breadcrumb">
    <table width="100%">
      <tr>
        <td  nowrap  align="left">
             <span tal:repeat="item here/breadcrumbs"><a href="url goes here" tal:attributes="href python:'%s/view' % item ['url']"><span tal:replace="item/title | item/id" /></a>&nbsp;/&nbsp;</span></td>
        <td  align="right"></td>
      </tr>
    </table>
    </div>
    <div metal:define-macro="full_breadcrumb">
    <table width="100%">
      <tr>
        <td  nowrap  align="left">
             <span tal:repeat="item here/breadcrumbs"><a href="url goes here" tal:attributes="href python:'%s/view' % item ['url']"><span tal:replace="item/title | item/id" /></a>&nbsp;/&nbsp;</span></td>
40
        <td  align="right" tal:condition="python: not here.portal_membership.isAnonymousUser()">&nbsp;<a href="undo_form">Created</a> by : <span tal:replace="python:here.getOwnerInfo()['id']" /> - <span tal:replace="here/bobobase_modification_time" /></td>
Jean-Paul Smets's avatar
Jean-Paul Smets committed
41 42 43 44 45
        <td  align="right" tal:condition="python: here.portal_membership.isAnonymousUser()">&nbsp;</td>
      </tr>
    </table>
    </div>
  </body>
46
</html>