~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/revisioninfo.pt

  • Committer: Martin Albisetti
  • Date: 2008-06-23 20:03:12 UTC
  • mto: (157.1.3 loggerhead)
  • mto: This revision was merged to the branch mainline in revision 187.
  • Revision ID: argentina@gmail.com-20080623200312-2r9ecmlw49j4we6r
 * Show "merged in" in changelog

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<div class="infoContainer">
 
1
<div id="infoContainer" class="revision-info">
2
2
    <div id="infTxt">
3
 
        <ul>
4
 
            <li class="committer">
5
 
                <strong>Committer:</strong>
6
 
                <span tal:content="python:', '.join(util.hide_emails(change.authors))"></span>
7
 
            </li>
8
 
            <li class="timer">
9
 
                <strong>Date:</strong>
10
 
                <span tal:content="python:util.date_time(change.date)"></span>
11
 
            </li>
12
 
            <li class="mfrom" tal:condition="python:change.parents[1:]">
13
 
                <strong>mfrom:</strong>
14
 
                <span tal:repeat="parent python:change.parents[1:]">
15
 
                    <a tal:attributes="title string:Merged From ${parent/revno};
16
 
                                       href python:url(['/revision', parent.revno], clear=1)"
17
 
                       tal:content="python:revno_with_nick(parent)"></a>
18
 
                </span>
19
 
            </li>
20
 
            <li class="mto" tal:condition="change/merge_points">
21
 
                <strong>mto:</strong>
22
 
                <span tal:repeat="merge_point change/merge_points">
23
 
                    <a tal:attributes="title string:Merged In ${merge_point/revno};
24
 
                                       href python:url(['/revision', merge_point.revno], clear=1)"
25
 
                       tal:content="python:revno_with_nick(merge_point)"></a>
26
 
                </span>
27
 
            </li>
28
 
            <li class="mto" tal:condition="merged_in">
29
 
                <strong>mto:</strong>
30
 
                  This revision was merged to the branch mainline in
31
 
                  <a tal:attributes="href python:url(['/revision', merged_in], clear=1)">revision
32
 
                    <tal:b content="merged_in"/></a>.
33
 
            </li>
34
 
            <li class="revid">
35
 
                <strong>Revision ID:</strong>
36
 
                <span tal:content="change/revid"></span>
37
 
            </li>
38
 
        </ul>
39
 
        <div tal:attributes="class string:foreign-${change/foreign_vcs}"
40
 
             tal:condition="change/foreign_vcs" 
41
 
             tal:repeat="revid_part python:change.foreign_revid.keys()"
42
 
             tal:content="python:'%s: %s' % (revid_part, change.foreign_revid[revid_part])"/>
43
 
        <div class="tags" tal:condition="change/tags" tal:content="string:Tags: ${change/tags}"></div>
44
 
        <div class="clear"><!-- --></div>
45
 
        <div class="bug" tal:repeat="bug change/bugs">
46
 
            <a tal:attributes="href bug" tal:content="bug"></a>
47
 
        </div>
48
 
        <div class="information" tal:content="structure python:util.fixed_width(change.comment)"></div>
 
3
        <div class="comiter" tal:content="python:util.hide_email(change.author)"></div>
 
4
        <div class="timer" tal:content="python:util.date_time(change.date)"></div>
 
5
        <div class="mfrom" tal:repeat="parent python:change.parents[1:]">
 
6
            <a tal:attributes="title string:Merged From ${parent/revno};
 
7
                               href python:url(['/revision', parent.revno], clear=1)"
 
8
               tal:content="python:revno_with_nick(parent)"></a>
 
9
        </div>
 
10
        <div class="mfrom" tal:repeat="merge_point change/merge_points">
 
11
            <a tal:attributes="title string:Merged In ${merge_point/revno};
 
12
                               href python:url(['/revision', merge_point/revno], clear=1)"
 
13
               tal:content="python:revno_with_nick(merge_point)"></a>
 
14
        </div>
 
15
        <div class="revid" tal:content="string:RevisionID: ${change/revid}"></div>
 
16
        <div class="information" tal:content="change/comment"></div>
49
17
    </div>
50
 
    <ul id="list-files" tal:condition="file_changes">
51
 
      <tal:block content="structure python:file_change_summary(url, change, file_changes, 'fragment', currently_showing)" />
 
18
    <ul id="list-files">
 
19
        <tal:block condition="nocall:modified_file_link">
 
20
        <tal:block content="structure python:file_change_summary(url, change, modified_file_link)" /></tal:block>
52
21
    </ul>
53
22
    <div class="clear"><!-- --></div>
54
23
</div>