~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/inventory.pt

  • Committer: Michael Hudson
  • Date: 2009-02-10 01:57:06 UTC
  • mto: This revision was merged to the branch mainline in revision 267.
  • Revision ID: michael.hudson@canonical.com-20090210015706-kjmo79xghst7kzga
convert tests to TestCaseWithTransport subclasses runnable with trial

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
 
65
65
            <!-- Show this if it's a directory -->
66
66
            <tal:block repeat="file filelist">
67
 
            <tr tal:attributes="class string:blueRow${repeat/file/even}" tal:condition="python:file.kind=='directory'">
 
67
            <tr tal:attributes="class string:blueRow${file/parity}" tal:condition="python:file.kind=='directory'">
68
68
                <td class="autcell"><a tal:attributes="href python:url(['/files', revno_url, file.absolutepath])">
69
69
                        <img tal:attributes="src python:branch.static_url('/static/images/ico_folder.gif');
70
70
                                             title string:Go to ${file/filename}" />
88
88
            </tr>
89
89
 
90
90
            <!-- Show this if it's a symlink -->
91
 
            <tr tal:attributes="class string:blueRow${repeat/file/even}" tal:condition="python:file.kind=='symlink'">
 
91
            <tr tal:attributes="class string:blueRow${file/parity}" tal:condition="python:file.kind=='symlink'">
92
92
                <td class="autcell"><a tal:attributes="href python:url(['/annotate', change.revno, file.absolutepath])">
93
93
                        <img tal:attributes="src python:branch.static_url('/static/images/ico_flecha.gif')" alt="Symlink" />
94
94
                    </a>
112
112
            </tr>
113
113
 
114
114
            <!-- Show this if it's a regular file -->
115
 
            <tr tal:attributes="class string:blueRow${repeat/file/even}" tal:condition="python:file.kind=='file'">
 
115
            <tr tal:attributes="class string:blueRow${file/parity}" tal:condition="python:file.kind=='file'">
116
116
                <td class="autcell"><a tal:attributes="href python:url(['/annotate', revno_url, file.absolutepath])">
117
117
                        <img tal:attributes="src python:branch.static_url('/static/images/ico_file.gif');
118
118
                                             title string:Annotate ${file/filename}"