~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/revision.pt

  • Committer: Martin Albisetti
  • Date: 2008-07-22 00:22:49 UTC
  • mto: (157.1.3 loggerhead)
  • mto: This revision was merged to the branch mainline in revision 187.
  • Revision ID: argentina@gmail.com-20080722002249-1rp8szkaroja0ssd
Small tweaks

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
    <body>
16
16
 
17
17
      <tal:block metal:fill-slot="heading">
18
 
        <h1>
19
 
          <tal:has-link condition="branch/branch_link">
20
 
            <a tal:attributes="href branch/branch_link"
21
 
               tal:content="branch/friendly_name">
22
 
              nice/branch/name
23
 
            </a>
24
 
          </tal:has-link>
25
 
          <tal:no-link condition="not: branch/branch_link">
26
 
            <tal:branch-name replace="branch/friendly_name" />
27
 
          </tal:no-link>
28
 
          <span>: <tal:revno content="change/revno"></tal:revno>
 
18
        <h1><tal:block content="branch/friendly_name" /><span>: <tal:revno content="change/revno"></tal:revno>
29
19
        <tal:compare-to condition="python:compare_revid is not None">
30
20
          (compared to revision <tal:block content="python:history.get_revno(compare_revid)" />)
31
21
          </tal:compare-to>
32
22
        </span></h1>
33
23
        <ul id="submenuTabs">
34
 
            <li id="first"><a tal:attributes="href python:url(['/files', change.revno]); 
 
24
            <li id="inicio"><a tal:attributes="href python:url(['/files', change.revno]); 
35
25
                                               title string:browse files at revision ${change/revno}"
36
26
                               tal:content="string:browse files at revision ${change/revno}"></a></li>
37
27
            <li tal:condition="python:remember != change.revno">
43
33
                compare with revision <tal:b content="python:history.get_revno(remember)" />
44
34
                </a>
45
35
            </li>
46
 
            <li id="last"><a tal:attributes="href python:url(['/changes', change.revno]); 
 
36
            <li id="final"><a tal:attributes="href python:url(['/changes', change.revno]); 
47
37
                                  title string:view history from revision ${change/revno}"
48
38
                  tal:content="string:view history from revision ${change/revno}"></a></li>
49
39
        </ul>
50
40
 
51
41
        <tal:we-are-comparing condition="python:compare_revid is not None">
52
42
        <ul id="submenuTabs">
53
 
          <li id="first">
 
43
          <li id="inicio">
54
44
              <a tal:attributes="href python:url([ '/revision', history.get_revno(compare_revid) ], remember=change.revno, compare_revid=change.revno)">
55
45
                reverse the comparison (<tal:b content="change/revno" /> to <tal:b content="python:history.get_revno(compare_revid)" />)
56
46
              </a>
57
47
          </li>
58
 
          <li id="last">
 
48
          <li id="final">
59
49
              <a tal:attributes="href python:url(['/revision', change.revno], remember=None, compare_revid=None)">
60
50
                stop comparing with revision <tal:b content="python:history.get_revno(compare_revid)" />
61
51
              </a>
97
87
                                              tal:content="item/filename"></a></div>
98
88
               <div id="psuedotable" class="diffinfo">
99
89
               <tal:block repeat="chunk item/sbs_chunks">
100
 
 
101
 
                <tal:block condition="not:repeat/chunk/start">
102
 
                 <div class="lineNumber separate"></div>
103
 
                 <div class="lineCode separate"></div>
104
 
                 <div class="lineNumber separate"></div>
105
 
                 <div class="lineCode separate"></div>
106
 
                 <div class="clear"><!-- --></div>
107
 
                </tal:block>
108
 
 
109
 
                <tal:block repeat="line chunk/diff">
 
90
                 <tal:block repeat="line chunk/diff">
110
91
                    <div id="pseudorow">
111
92
                    <tal:block condition="line/old_lineno">
112
93
                    <div class="lineNumber"><tal:block replace="structure python:util.fill_div(line.old_lineno)" /></div>