~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: 2010-07-20 12:16:51 UTC
  • mto: This revision was merged to the branch mainline in revision 1818.
  • Revision ID: matt.giuca@gmail.com-20100720121651-rgeeztj6jn1tsrou
Submit page: No longer disables the radio button for closed projects.
Displays them in red rather than grey (grey implies disabled, red implies caution).
Added notice that the deadline has passed, but submission can still be done with a penalty.

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>Subversion Log</title>
 
4
    <title>${title} (log)</title>
5
5
  </head>
6
6
  <body>
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>
 
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>
30
36
    </div>
31
37
  </body>
32
38
</html>