~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/filesystem/svnlog/template.html

  • Committer: William Grant
  • Date: 2010-02-23 08:48:09 UTC
  • mfrom: (1673 trunk)
  • mto: This revision was merged to the branch mainline in revision 1674.
  • Revision ID: grantw@unimelb.edu.au-20100223084809-du6dvsxrjhw15ytr
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html xmlns="http://www.w3.org/1999/xhtml"
 
2
      xmlns:py="http://genshi.edgewall.org/">
 
3
  <head>
 
4
    <title>${title} (log)</title>
 
5
  </head>
 
6
  <body>
 
7
    <div id="ivle_padding">
 
8
      <ul id="svnlog">
 
9
        <li py:for="log in logs">
 
10
          <h2>
 
11
            Revision <a href="/svnlog/${path}?r=${log['revno']}"
 
12
                        style="font-weight: bold">${log['revno']}</a>
 
13
            by <strong>${log['author']}</strong>,
 
14
            <span title="${format_datetime(log['date'])}">${format_datetime_short(log['date'])}</span>
 
15
            <py:choose test="revno">
 
16
              <span py:when="log['revno']">[selected]</span>
 
17
              <a py:otherwise="" href="${url}?r=${log['revno']}">[select]</a>
 
18
            </py:choose>
 
19
            <a py:if="revno" href="${diffurl}?r=${revno}&amp;r=${log['revno']}">[diff]</a>
 
20
            <input type="button" value="Update to Revision ${log['revno']}"
 
21
                onclick="update_revision(this, ${log['revno']})" />
 
22
          </h2>
 
23
          <div class="svnlogcontent">
 
24
            <pre py:content="log['message']" />
 
25
            <div class="svnlogpathlist">
 
26
              <h3>Changed paths:</h3>
 
27
              <ul>
 
28
                <li py:for="path in log['paths']">
 
29
                  ${path[1]} ${path[0]}
 
30
                </li>
 
31
              </ul>
 
32
            </div>
 
33
          </div>
 
34
        </li>
 
35
      </ul>
 
36
    </div>
 
37
  </body>
 
38
</html>