~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/changelog.kid

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-09-07 18:46:20 UTC
  • mfrom: (128.4.15 no-more-bdb)
  • Revision ID: pqm@pqm.ubuntu.com-20070907184620-nu3n5io002ryctkx
[r=barry] stop using the bdb-backed shelve database for caching

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
    Sorry, no results found for your search.
32
32
</span>
33
33
 
 
34
<span py:if="not changes">
 
35
    No revisions!
 
36
</span>
 
37
 
34
38
<span py:if="not search_failed" class="changelog"> ${collapse_all_button('cl')} </span>
35
39
 
36
 
<div class="log-entries">
 
40
<table class="log-entries">
 
41
    <tr class="log-header">
 
42
        <th class="revision-number">Rev</th>
 
43
        <th></th>
 
44
        <th class="summary">Summary</th>
 
45
        <span py:strip="True" py:if="all_same_author">
 
46
            <th></th>
 
47
        </span>
 
48
        <span py:strip="True" py:if="not all_same_author">
 
49
            <th class="author">Committer</th>
 
50
        </span>
 
51
        <th class="date" colspan="2">Date</th>
 
52
    </tr>
37
53
    <div py:for="entry in changes" class="revision">
38
54
        <a name="entry-${entry.revno}" />
39
 
        <div class="revision-header">
40
 
            <table>
 
55
        <tr class="revision-header parity${entry.parity}">
 
56
            <td class="revision-number"> ${revision_link(entry.revid, util.trunc(entry.revno))} </td>
 
57
            <td class="expand-button"> ${collapse_button('cl', entry.revno)} </td>
 
58
            <td class="summary"> ${revision_link(entry.revid, entry.short_comment)} </td>
 
59
            <span py:strip="True" py:if="all_same_author">
 
60
                <td></td>
 
61
            </span>
 
62
            <span py:strip="True" py:if="not all_same_author">
 
63
                <td class="author"> ${util.trunc(util.hide_email(entry.author), 20)} </td>
 
64
            </span>
 
65
            <td class="date"> ${entry.date.strftime('%Y-%m-%d, %H:%M')} &nbsp; (${util.ago(entry.date)}) </td>
 
66
            <td class="inventory-link"> 
 
67
                <a href="${branch.url([ '/files', entry.revid ])}"
 
68
                    title="Files at revision ${entry.revno}"> files</a>
 
69
            </td>
 
70
        </tr>
 
71
        
 
72
        <tr class="revision-details-block parity${entry.parity}">
 
73
            <td colspan="2"></td>
 
74
            <td colspan="4"><table class="revision-details hidden-details collapse-cl-${entry.revno}-content">
 
75
                <tr py:if="len(entry.merge_points) > 0">
 
76
                    <th class="children"> merged in: </th>
 
77
                    <td class="children">
 
78
                        <span py:for="child in entry.merge_points">
 
79
                            ${loglink(child.revid, '(' + child.revno + util.if_present(' %s', child.branch_nick) + ')')} <br />
 
80
                        </span>
 
81
                    </td>
 
82
                </tr>
 
83
                <tr py:if="len(entry.parents) > 1">
 
84
                    <th class="parents"> merged from: </th>
 
85
                    <td class="parents">
 
86
                        <span py:for="parent in entry.parents"><span py:if="parent.revid != entry.parents[0].revid">
 
87
                            ${loglink(parent.revid, '(' + parent.revno + util.if_present(' %s', parent.branch_nick) + ')')} <br />
 
88
                        </span></span>
 
89
                    </td>
 
90
                </tr>
 
91
                <span py:strip="True" py:if="all_same_author">
 
92
                    <tr>
 
93
                        <th class="author">committed by:</th>
 
94
                        <td class="author"> ${util.hide_email(entry.author)} </td>
 
95
                    </tr>
 
96
                </span>
41
97
                <tr>
42
 
                    <td class="revision-number"> ${revision_link(entry.revid, util.trunc(entry.revno))} </td>
43
 
                    <td class="expand-button"> ${collapse_button('cl', entry.revno)} </td>
44
 
                                        <td class="summary"> ${revision_link(entry.revid, entry.short_comment)} </td>
45
 
                                        <td class="inventory-link"> <a href="${branch.url([ '/files', entry.revid ])}">&#8594; files</a> </td>
46
 
                                </tr>
47
 
                        </table>
48
 
        </div>
49
 
        
50
 
        <div class="revision-details-block">
51
 
            <div class="revision-details">
52
 
                            <table>
53
 
                                <tr>
54
 
                                    <th class="author">committed by:</th>
55
 
                                    <td class="author"> ${util.hide_email(entry.author)} </td>
56
 
                                </tr>
57
 
                                <tr>
58
 
                                    <th class="date">date:</th>
59
 
                                    <td class="date"> ${entry.date.strftime('%d %b %Y %H:%M')} &nbsp; (${util.ago(entry.date)}) </td>
60
 
                                </tr>
61
 
                            </table>
62
 
                        </div>
63
 
                <div class="revision-details hidden-details collapse-cl-${entry.revno}-content">
64
 
                        <table>
65
 
                                <tr py:if="len(entry.merge_points) > 0">
66
 
                                    <th class="children"> merged in: </th>
67
 
                                    <td class="children">
68
 
                                        <span py:for="child in entry.merge_points">
69
 
                                            ${loglink(child.revid, '(' + child.revno + util.if_present(' %s', child.branch_nick) + ')')} <br />
70
 
                                        </span>
71
 
                                    </td>
72
 
                                </tr>
73
 
                                <tr py:if="len(entry.parents) > 1">
74
 
                                        <th class="parents"> merged from: </th>
75
 
                                        <td class="parents">
76
 
                                            <span py:for="parent in entry.parents"><span py:if="parent.revid != entry.parents[0].revid">
77
 
                                                ${loglink(parent.revid, '(' + parent.revno + util.if_present(' %s', parent.branch_nick) + ')')} <br />
78
 
                                            </span></span>
79
 
                                        </td>
80
 
                                </tr>
81
 
 
82
 
                                <tr py:if="entry.changes.added">
83
 
                                    <th class="files"> files added: </th>
84
 
                                    <td class="files"> <span py:for="filename, fid in entry.changes.added" class="filename">${file_link(filename, fid, entry.revid)} <br /></span> </td>
85
 
                                </tr>
86
 
                                <tr py:if="entry.changes.removed">
87
 
                                    <th class="files"> files removed: </th>
88
 
                                    <td class="files"> <span py:for="filename, fid in entry.changes.removed" class="filename">${file_link(filename, fid, entry.revid)} <br /></span> </td>
89
 
                                </tr>
90
 
                                <tr py:if="entry.changes.renamed">
91
 
                                    <th class="files"> files renamed: </th>
92
 
                                    <td class="files"> <span py:for="old_filename, new_filename, fid in entry.changes.renamed" class="filename">
93
 
                                        ${file_link(old_filename, fid, entry.revid)} => ${file_link(new_filename, fid, entry.revid)}<br />
94
 
                                    </span> </td>
95
 
                                </tr>
96
 
                                <tr py:if="entry.changes.modified">
97
 
                                    <th class="files"> files modified: </th>
98
 
                                    <td class="files"> <span py:for="item in entry.changes.modified">
99
 
                                        <span class="filename">${file_link(item.filename, item.file_id, entry.revid)}</span> &nbsp;
100
 
                                        <a href="${branch.url([ '/revision', entry.revid ], **util.get_context()) + '#' + item.filename}" class="jump">&#8594; diff</a>
101
 
                                        <br />
102
 
                                    </span> </td>
103
 
                                </tr>
104
 
                                <tr>
105
 
                                    <th class="description">description:</th>
106
 
                                <td class="description"><span py:for="line in entry.comment_clean">${XML(line)} <br /></span> </td>
107
 
                            </tr>
108
 
                        </table>
109
 
                </div>
110
 
        </div>
 
98
                    <th class="description">description:</th>
 
99
                    <td class="description"><span py:for="line in entry.comment_clean">${XML(line)} <br /></span> </td>
 
100
                </tr>
 
101
                <tr py:if="entry.changes.added">
 
102
                    <th class="files"> files added: </th>
 
103
                    <td class="files"> <span py:for="filename, fid in entry.changes.added" class="filename">${file_link(filename, fid, entry.revid)} <br /></span> </td>
 
104
                </tr>
 
105
                <tr py:if="entry.changes.removed">
 
106
                    <th class="files"> files removed: </th>
 
107
                    <td class="files"> <span py:for="filename, fid in entry.changes.removed" class="filename">${file_link(filename, fid, entry.revid)} <br /></span> </td>
 
108
                </tr>
 
109
                <tr py:if="entry.changes.renamed">
 
110
                    <th class="files"> files renamed: </th>
 
111
                    <td class="files"> <span py:for="old_filename, new_filename, fid in entry.changes.renamed" class="filename">
 
112
                        ${file_link(old_filename, fid, entry.revid)} => ${file_link(new_filename, fid, entry.revid)}<br />
 
113
                    </span> </td>
 
114
                </tr>
 
115
                <tr py:if="entry.changes.modified">
 
116
                    <th class="files"> files modified: </th>
 
117
                    <td class="files"> <span py:for="item in entry.changes.modified">
 
118
                        <span class="filename">${file_link(item.filename, item.file_id, entry.revid)}</span> &nbsp;
 
119
                        <a href="${branch.url([ '/revision', entry.revid ], **util.get_context()) + '#' + item.filename}" class="jump">&#8594; diff</a>
 
120
                        <br />
 
121
                    </span> </td>
 
122
                </tr>
 
123
                </table>
 
124
            </td>
 
125
        </tr>
111
126
    </div>
112
 
</div>
 
127
</table>
113
128
 
114
129
<div py:if="navigation.prev_page_revid or navigation.next_page_revid" class="bar">
115
130
    <table>