~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/revisioninfo.pt

  • Committer: Toshio Kuratomi
  • Date: 2010-04-18 14:41:23 UTC
  • mto: (464.1.1 mod-wsgi)
  • mto: This revision was merged to the branch mainline in revision 465.
  • Revision ID: toshio@fedoraproject.org-20100418144123-c93a6zbtmxzid12g
Files to anable mod_wsgi

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<div class="revision-info">
2
 
  <table>
3
 
    <tr>
4
 
      <th class="author">
5
 
        committed by:
6
 
      </th>
7
 
      <td class="author"
8
 
          tal:content="python:util.hide_email(change.author)">
9
 
        author@email
10
 
      </td>
11
 
    </tr>
12
 
    <tr>
13
 
      <th class="date">
14
 
        date:
15
 
      </th>
16
 
      <td class="date"
17
 
          tal:content="python:util.date_time(change.date)">
18
 
        date
19
 
      </td>
20
 
    </tr>
21
 
 
22
 
    <tr tal:repeat="merge_point change/merge_points">
23
 
      <th class="children">
24
 
        <tal:block condition="repeat/merge_point/start">
25
 
          merged in:
26
 
        </tal:block>
27
 
      </th>
28
 
      <td class="children">
29
 
        <a title="Show history"
30
 
           tal:attributes="title string:Show revision ${merge_point/revno};
31
 
                                        href python:url(['/revision', merge_point.revno])"
32
 
           tal:content="python:revno_with_nick(merge_point)">
33
 
          ${text}
34
 
        </a>
35
 
      </td>
36
 
    </tr>
37
 
 
38
 
    <tr tal:repeat="parent python:change.parents[1:]">
39
 
      <th class="parents">
40
 
        <tal:block condition="repeat/parent/start">
41
 
          merged from:
42
 
        </tal:block>
43
 
      </th>
44
 
      <td class="parents">
45
 
        <a title="Show history"
46
 
           tal:attributes="title string:Show revision ${parent/revno};
47
 
                           href python:url(['/revision', parent.revno], clear=1)"
48
 
           tal:content="python:revno_with_nick(parent)">
49
 
          class="revlink">
50
 
          ${text}
51
 
        </a>
52
 
      </td>
53
 
    </tr>
54
 
 
55
 
    <tr>
56
 
      <th class="description">
57
 
        description:
58
 
      </th>
59
 
      <td class="description">
60
 
        <span tal:repeat="line change/comment_clean">
61
 
          <tal:line replace="structure line" />
62
 
          <br />
63
 
        </span>
64
 
      </td>
65
 
    </tr>
66
 
 
67
 
    <tr>
68
 
      <th class="revid">
69
 
        revision id:
70
 
      </th>
71
 
      <td class="revid">
72
 
          <span tal:content="revid">
73
 
              revid
74
 
        </span>
75
 
      </td>
76
 
    </tr>
77
 
 
78
 
    <tal:block condition="nocall:modified_file_link">
79
 
      <tr class="divider">
80
 
        <th>
81
 
        </th>
82
 
        <td>
83
 
        </td>
84
 
      </tr>
85
 
      <tal:block content="structure python:file_change_summary(url, change, modified_file_link)" />
86
 
    </tal:block>
87
 
  </table>
 
1
<div class="infoContainer">
 
2
    <div id="infTxt">
 
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>
 
21
        <div tal:attributes="class string:foreign-${change/foreign_vcs}"
 
22
             tal:condition="change/foreign_vcs" 
 
23
             tal:repeat="revid_part python:change.foreign_revid.keys()"
 
24
             tal:content="python:'%s: %s' % (revid_part, change.foreign_revid[revid_part])"/>
 
25
        <div class="tags" tal:condition="change/tags" tal:content="string:Tags: ${change/tags}"></div>
 
26
        <div class="clear"><!-- --></div>
 
27
        <div class="bug" tal:repeat="bug change/bugs">
 
28
            <a tal:attributes="href bug" tal:content="bug"></a>
 
29
        </div>
 
30
        <div class="information" tal:content="structure python:util.fixed_width(change.comment)"></div>
 
31
    </div>
 
32
    <ul id="list-files" tal:condition="file_changes">
 
33
      <tal:block content="structure python:file_change_summary(url, change, file_changes, 'fragment', currently_showing)" />
 
34
    </ul>
 
35
    <div class="clear"><!-- --></div>
88
36
</div>