~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/inventory.pt

  • Committer: Jasper St. Pierre
  • Date: 2011-04-22 18:18:02 UTC
  • mto: This revision was merged to the branch mainline in revision 448.
  • Revision ID: jstpierre@mecheye.net-20110422181802-7y2yambz9iscfa17
Make breadcrumbs consistent

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
          </tal:has-link>
20
20
      </tal:block>
21
21
      <tal:block metal:fill-slot="branchname" tal:content="string:${branch/friendly_name}" />
22
 
      <tal:block metal:fill-slot="heading">
23
 
      <div id="breadcrumbs">
 
22
          <tal:block metal:fill-slot="heading">
 
23
          <div id="breadcrumbs">
24
24
          <tal:has-link condition="branch/branch_link">
25
25
            <a tal:attributes="href branch/branch_link"
26
26
               tal:content="branch/friendly_name">
27
27
              nice/branch/name
28
28
            </a>
29
29
          </tal:has-link>
30
 
          <span tal:condition="not: branch/branch_link">
31
 
            <span metal:use-macro="breadcrumbs/directory" />
32
 
          </span>
33
 
          <tal:block condition="python:change">
34
 
            &#187; Viewing
35
 
            <span metal:use-macro="breadcrumbs/branch" />
36
 
            for revision <span tal:content="change/revno"/>
37
 
          </tal:block>
 
30
          <tal:no-link condition="not: branch/branch_link">
 
31
            <span metal:use-macro="breadcrumbs/directory"></span>
 
32
          </tal:no-link>
 
33
          <span>: <span metal:use-macro="breadcrumbs/branch" /> (revision <tal:revno content="change/revno"></tal:revno>)</span>
38
34
        </div>
39
35
      </tal:block>
40
36