~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/revisioninfo.pt

  • Committer: Matt Nordhoff
  • Date: 2009-06-26 09:42:43 UTC
  • Revision ID: mnordhoff@mattnordhoff.com-20090626094243-8ia9poyixoj1en6l
Pass around and use argv correctly

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<div class="infoContainer">
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])"/>
 
3
        <div class="committer" tal:content="python:', '.join(util.hide_emails(change.authors))"></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="mto" 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="mto" tal:condition="merged_in">
 
16
          This revision was merged to the branch mainline in
 
17
          <a tal:attributes="href python:url(['/revision', merged_in], clear=1)">revision
 
18
            <tal:b content="merged_in"/></a>.
 
19
        </div>
 
20
        <div class="revid" tal:content="string:Revision ID: ${change/revid}"></div>
43
21
        <div class="tags" tal:condition="change/tags" tal:content="string:Tags: ${change/tags}"></div>
44
22
        <div class="clear"><!-- --></div>
45
23
        <div class="bug" tal:repeat="bug change/bugs">