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

« back to all changes in this revision

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

  • Committer: Nick Chadwick
  • Date: 2009-03-03 01:48:48 UTC
  • mto: (1099.1.227 exercise-ui)
  • mto: This revision was merged to the branch mainline in revision 1162.
  • Revision ID: chadnickbok@gmail.com-20090303014848-dyurvmtmbneohd7f
Modified the setup script to include '.txt' files.

This allows the automatic inclusion of definitions.txt from the rst
code, as it is needed by all worksheets.

Show diffs side-by-side

added added

removed removed

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