~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/revision.pt

  • Committer: Martin Albisetti
  • Author(s): Jelmer Vernooij
  • Date: 2008-08-05 17:31:23 UTC
  • mfrom: (197.1.1 trunk)
  • Revision ID: argentina@gmail.com-20080805173123-srwhfyqbinpz2ol3
Add manual page for serve-branches

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
            </a>
24
24
          </tal:has-link>
25
25
          <tal:no-link condition="not: branch/branch_link">
26
 
            <span metal:use-macro="breadcrumbs/directory"></span>
 
26
            <tal:branch-name replace="branch/friendly_name" />
27
27
          </tal:no-link>
28
28
          <span>: <tal:revno content="change/revno"></tal:revno>
29
29
        <tal:compare-to condition="python:compare_revid is not None">
36
36
                               tal:content="string:browse files at revision ${change/revno}"></a></li>
37
37
            <li tal:condition="python:remember != change.revno">
38
38
                <a tal:attributes="href python:url(['/revision', change.revno], remember=change.revno, compare_revid=None); 
39
 
                                   title string:compare with another revision"
 
39
                                   title string:Compare with another revision"
40
40
                   tal:content="string:Compare with another revision"></a></li>       
41
41
            <li tal:condition="python:(remember is not None) and (compare_revid is None) and (change.revno != remember)" >
42
42
                <a tal:attributes="href python:url(['/revision', change.revno], compare_revid=history.get_revno(remember))">
43
43
                compare with revision <tal:b content="python:history.get_revno(remember)" />
44
44
                </a>
45
45
            </li>
46
 
            <li>
47
 
            <a tal:condition="python:len(change.parents) > 0 and compare_revid is None"
48
 
                   tal:attributes="href python:url(['/diff', change.revno], clear=1)">download diff</a>
49
 
            <a tal:condition="python:compare_revid is not None"
50
 
                   tal:attributes="href python:url(['/diff', change.revno, history.get_revno(compare_revid)], clear=1)">download diff</a>
51
 
            </li>
52
46
            <li id="last"><a tal:attributes="href python:url(['/changes', change.revno]); 
53
47
                                  title string:view history from revision ${change/revno}"
54
48
                  tal:content="string:view history from revision ${change/revno}"></a></li>