~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 class="datecell">Date</td>
77
 
          <td class="diffcell">Diff</td>
78
 
          <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>
79
90
        </tr>
80
91
        <tal:block tal:repeat="entry changes">
81
92
          <a tal:attributes="name string:entry-${entry/revno}"/>
94
105
            </td>
95
106
            <td class="summcell">
96
107
              <div class="short_description">
 
108
                <img tal:condition="python:entry.parents[1:]"
 
109
                     tal:attributes="src python:branch.static_url('/static/images/ico_mergefrom.gif')" />
97
110
                <a tal:attributes="title python:'Show revision '+entry.revno;
98
111
                                   href  python:url(['/revision', entry.revno], clear=1);
99
112
                                   class string:link"
100
113
                   tal:content="entry/short_comment"></a>
101
114
              </div>
102
115
              <div class="long_description" style="display: none">
 
116
                <img tal:condition="python:entry.parents[1:]"
 
117
                     tal:attributes="src python:branch.static_url('/static/images/ico_mergefrom.gif')" />
103
118
                <a tal:attributes="title python:'Show revision '+entry.revno;
104
119
                                   href  python:url(['/revision', entry.revno], clear=1);
105
120
                                   class string:link"
111
126
            </td>
112
127
            <td tal:content="python:util.trunc(util.hide_email(entry.authors[0]), 20)"
113
128
                class="autcell"></td>
 
129
            <td tal:condition="show_tag_col" tal:content="string:${entry/tags}"
 
130
                class="tagcell"></td>
114
131
            <td class="date">
115
132
              <span tal:attributes="title python:util.date_time(entry.date)"
116
133
                    tal:content="python:util._approximatedate(entry.date)"></span>