~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/inventory.pt

[rs=thumper] merge loggerhead trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
    </h1>
29
29
 
30
30
    <div metal:fill-slot="content">
 
31
        <tal:branch-info replace="structure python:branchinfo(branch)" />
 
32
 
31
33
        <p tal:condition="python:not change">
32
34
          No revisions!
33
35
        </p>
62
64
 
63
65
            <!-- Show this if it's a directory -->
64
66
            <tal:block repeat="file filelist">
65
 
            <tr tal:attributes="class string:blueRow${file/parity}" tal:condition="python:file.kind=='directory'">
 
67
            <tr tal:attributes="class string:blueRow${repeat/file/even}" tal:condition="python:file.kind=='directory'">
66
68
                <td class="autcell"><a tal:attributes="href python:url(['/files', revno_url, file.absolutepath])">
67
69
                        <img tal:attributes="src python:branch.static_url('/static/images/ico_folder.gif');
68
70
                                             title string:Go to ${file/filename}" />
86
88
            </tr>
87
89
 
88
90
            <!-- Show this if it's a symlink -->
89
 
            <tr tal:attributes="class string:blueRow${file/parity}" tal:condition="python:file.kind=='symlink'">
 
91
            <tr tal:attributes="class string:blueRow${repeat/file/even}" tal:condition="python:file.kind=='symlink'">
90
92
                <td class="autcell"><a tal:attributes="href python:url(['/annotate', change.revno, file.absolutepath])">
91
93
                        <img tal:attributes="src python:branch.static_url('/static/images/ico_flecha.gif')" alt="Symlink" />
92
94
                    </a>
110
112
            </tr>
111
113
 
112
114
            <!-- Show this if it's a regular file -->
113
 
            <tr tal:attributes="class string:blueRow${file/parity}" tal:condition="python:file.kind=='file'">
 
115
            <tr tal:attributes="class string:blueRow${repeat/file/even}" tal:condition="python:file.kind=='file'">
114
116
                <td class="autcell"><a tal:attributes="href python:url(['/annotate', revno_url, file.absolutepath])">
115
117
                        <img tal:attributes="src python:branch.static_url('/static/images/ico_file.gif');
116
118
                                             title string:Annotate ${file/filename}"