~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/changelog.pt

  • Committer: Michael Hudson-Doyle
  • Date: 2012-01-23 21:10:46 UTC
  • mfrom: (461.3.1 bug-390029)
  • Revision ID: michael.hudson@linaro.org-20120123211046-ec3rqt27goxfnxnq
fix a crash in comparing a revision to itself

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
  </head>
17
17
 
18
18
  <body>
 
19
      <tal:block metal:fill-slot="backlink">
 
20
          <tal:has-link condition="branch/branch_link">
 
21
            <div class="black-link">
 
22
                <a tal:attributes="href branch/branch_link">
 
23
                  &#8592; Back to branch summary
 
24
                </a>
 
25
            </div>
 
26
          </tal:has-link>
 
27
      </tal:block>
 
28
    <tal:block metal:fill-slot="branchname" tal:content="string:${branch/friendly_name}" />
19
29
    <tal:block metal:fill-slot="heading">
20
 
      <h1>
21
 
        <tal:has-link condition="branch/branch_link">
22
 
          <a tal:attributes="href branch/branch_link"
23
 
             tal:content="branch/friendly_name">
24
 
            nice/branch/name
25
 
          </a>
26
 
        </tal:has-link>
27
 
        <tal:no-link condition="not: branch/branch_link">
28
 
          <span metal:use-macro="breadcrumbs/directory"></span>
29
 
        </tal:no-link>
30
 
        <tal:block condition="changes">
31
 
          : changes
32
 
          <tal:block condition="filter_file_id">to <span tal:content="python:history.get_path(revid, filter_file_id)" /></tal:block>
33
 
          <tal:block condition="start_revid">from revision
34
 
            <span tal:content="python:history.get_revno(start_revid)"/>
35
 
          </tal:block>
36
 
          <tal:block condition="query">matching <tal:block content="query" /></tal:block>
37
 
        </tal:block>
38
 
      </h1>
 
30
        <div id="breadcrumbs">
 
31
            <tal:has-link condition="branch/branch_link">
 
32
              <a tal:attributes="href branch/branch_link"
 
33
                 tal:content="branch/friendly_name">
 
34
                nice/branch/name
 
35
              </a>
 
36
            </tal:has-link>
 
37
            <tal:no-link condition="not: branch/branch_link">
 
38
              <span metal:use-macro="breadcrumbs/directory"></span>
 
39
            </tal:no-link>
 
40
            <tal:block condition="changes">
 
41
              &#187; Changes
 
42
              <tal:block condition="filter_file_id">to <span tal:content="python:history.get_path(revid, filter_file_id)" /></tal:block>
 
43
              <tal:block condition="start_revid">from revision
 
44
                <span tal:content="python:history.get_revno(start_revid)"/>
 
45
              </tal:block>
 
46
              <tal:block condition="query">matching <tal:block content="query" /></tal:block>
 
47
            </tal:block>
 
48
        </div>
39
49
    </tal:block>
40
50
 
41
51
    <div metal:fill-slot="content">
69
79
      <!-- Table -->
70
80
      <table id="logentries">
71
81
        <tr class="logheader">
72
 
          <td class="revisionnumber">Rev</td>
73
 
          <td class="expandcell show_if_js">&nbsp;</td>
74
 
          <td class="summarycell">Summary</td>
75
 
          <td class="authorcell">Authors</td>
76
 
          <td tal:condition="show_tag_col" class="tagscell">Tags</td>
77
 
          <td class="datecell">Date</td>
78
 
          <td class="diffcell">Diff</td>
79
 
          <td class="downloadcell">Files</td>
 
82
          <th class="revisionnumber">Rev</th>
 
83
          <th class="expandcell show_if_js">&nbsp;</th>
 
84
          <th class="summarycell">Summary</th>
 
85
          <th class="authorcell">Authors</th>
 
86
          <th tal:condition="show_tag_col" class="tagscell">Tags</th>
 
87
          <th class="datecell">Date</th>
 
88
          <th class="diffcell">Diff</th>
 
89
          <th class="downloadcell">Files</th>
80
90
        </tr>
81
91
        <tal:block tal:repeat="entry changes">
82
92
          <a tal:attributes="name string:entry-${entry/revno}"/>