Switch to unified view

a/Allura/allura/templates/grant.html b/Allura/allura/templates/grant.html
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
1
{% extends 'jinja_master/master.html' %}
2
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
<html xmlns="http://www.w3.org/1999/xhtml"
4
      xmlns:py="http://genshi.edgewall.org/"
5
      xmlns:xi="http://www.w3.org/2001/XInclude">
6
2
7
  <xi:include href="master.html" />
3
{% block title %}Grant{% endblock %}
8
4
9
<head>
5
{% block header %}Grant{% endblock %}
10
  <meta content="text/html; charset=UTF-8" http-equiv="content-type" py:replace="''"/>
11
  <title>Grant</title>
12
</head>
13
6
14
  <body>
7
{% block content %}
15
    <h1 class="title">Grant</h1>
16
    <div class="content">
17
      <div class="row">
18
        <div class="column grid_12">
19
          <div id="grant">
8
          <div id="grant">
20
            <table border="1">
9
            <table border="1">
21
              <thead>
10
              <thead>
22
                <tr>
11
                <tr>
23
                  <th>Icon</th>
12
                  <th>Icon</th>
...
...
27
                </tr>
16
                </tr>
28
              </thead>
17
              </thead>
29
              <tbody>
18
              <tbody>
30
                <tr>
19
                <tr>
31
                  <td>
20
                  <td>
32
                    <py:if test="grant.award.icon">
21
                    {% if grant.award.icon %}
33
                      <img class="award_icon" src="icon"/>
22
                      <img class="award_icon" src="icon"/>
34
                    </py:if>
23
                    {% endif %}
35
                  </td>
24
                  </td>
36
                  <td><a href="$(grant.longurl()">${grant.award.short}</a></td>
25
                  <td><a href="{{grant.award.longurl()}}">{{grant.award.short}}</a></td>
37
                  <td><a href="${grant.longurl()}">${grant.granted_to_project.shortname}</a></td>
26
                  <td><a href="{{grant.granted_to_project.url()}}">{{grant.granted_to_project.shortname}}</a></td>
38
                  <td><a href="${grant.longurl()}/revoke">[X]</a></td>
27
                  <td><a href="{{grant.longurl()}}/revoke">[X]</a></td>
39
                </tr>
28
                </tr>
40
              </tbody>
29
              </tbody>
41
            </table>
30
            </table>
42
          </div>
31
          </div>
43
          <a href="..">&#060;&#060; Back</a>
32
          <a href="..">&#060;&#060; Back</a>
44
        </div>
33
{% endblock %}
45
      </div>
46
    </div>
47
  </body>
48
</html>