/loggerhead/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/loggerhead/trunk

« back to all changes in this revision

Viewing changes to loggerhead/templates/view.pt

  • Committer: Martin Pool
  • Date: 2011-11-23 08:33:12 UTC
  • mto: This revision was merged to the branch mainline in revision 461.
  • Revision ID: mbp@canonical.com-20111123083312-4stzhfv5843jxv2k
Bump version to 1.18.1; compatible with bzr 2.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
 
72
72
      <div class="view">
73
73
        <table id="logentries">
74
 
          <tal:rep tal:condition="annotated" tal:repeat="line contents">
 
74
          <tal:rep tal:repeat="line contents">
75
75
            <tr>
76
76
              <td tal:condition="python:path('repeat/line/number') in annotated"
77
77
                  tal:define="anno python:annotated.get(path('repeat/line/number'), None)"
79
79
                  class="viewRev">
80
80
                <a tal:content="python:'%s' % (anno.change.revno,)"
81
81
                   tal:attributes="href python:url(['/revision', anno.change.revno], clear=1);
82
 
                                   title python:'%s by %s, on %s (%s)' % (anno.change.revno, ', '.join(util.hide_emails(anno.change.authors)), anno.change.utc_date.strftime('%d %b %Y %H:%M UTC'), util.date_time(anno.change.utc_date))"></a>
 
82
                                   title python:'%s by %s, on %s (%s)' % (anno.change.revno, ', '.join(util.hide_emails(anno.change.authors)), anno.change.date.strftime('%d %b %Y %H:%M'), util.date_time(anno.change.date))"></a>
83
83
                <span class="viewAuthors" tal:content="python:'by ' + ', '.join(util.hide_emails(anno.change.authors))" />
84
84
                <br />
85
85
 
86
86
                <span tal:content="python:anno.message"></span>
87
87
              </td>
88
88
              <td tal:attributes="class python:path('repeat/line/number') in annotated and 'viewLine first' or 'viewLine'">
89
 
                <pre><a tal:attributes="id string:L${repeat/line/number}; href string:#L${repeat/line/number}"
90
 
                   tal:content="repeat/line/number">1</a></pre>
 
89
                <a tal:attributes="id string:L${repeat/line/number}; href string:#L${repeat/line/number}"
 
90
                   tal:content="repeat/line/number">1</a>
91
91
              </td>
92
92
              <td class="viewCont"><pre tal:content="structure line"></pre></td>
93
93
            </tr>
94
94
          </tal:rep>
95
 
          <tr tal:condition="not: annotated">
96
 
            <td class="viewLine">
97
 
              <pre><tal:blah repeat="line python:range(1, len(contents) + 1)"><a
98
 
                 tal:attributes="id string:L${line}; href string:#L${line}"
99
 
                 tal:content="line">1</a>
100
 
              </tal:blah></pre>
101
 
            </td>
102
 
            <td class="viewCont">
103
 
              <pre tal:content="structure python:''.join(contents)"></pre>
104
 
            </td>
105
 
            </tr>
106
95
        </table>
107
96
      </div>
108
97