7
These are all defined on one line in order to get the spacing looking right
11
<!-- Branch breadcrumbs (for the path within the branch) -->
12
<span metal:define-macro="branch" class="breadcrumb">
13
<tal:block repeat="crumb branch_breadcrumbs">/<a tal:attributes="href python:url([crumb['suffix'], change.revno], file_id=crumb['file_id'])" tal:content="crumb/dir_name" tal:condition="not:repeat/crumb/end" /><span tal:replace="crumb/dir_name" tal:condition="repeat/crumb/end" /></tal:block>
16
<!-- Directory breadcrumbs (for the path leading up to the branch) -->
17
<span metal:define-macro="directory" class="breadcrumb">
18
<tal:block repeat="crumb directory_breadcrumbs"><span tal:condition="not:repeat/crumb/start">/</span><a tal:attributes="href python:static_url('/'+crumb['path'])" tal:content="crumb/dir_name" /></tal:block>