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

« back to all changes in this revision

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

  • Committer: Matt Giuca
  • Date: 2009-04-23 08:21:35 UTC
  • Revision ID: matt.giuca@gmail.com-20090423082135-5lda1g114ocpc73e
Fileservice: Improved the error message "Revision not found" to
    "Revision not found or file not found in revision $n".
    This error appears whenever the file is not in the given revision, even if
    the revision exists in the repository, so the new text should be less
    confusing.

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
 
    <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>
 
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>
36
30
    </div>
37
31
  </body>
38
32
</html>