~loggerhead-team/loggerhead/trunk-rich

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>loggerhead branches</title>
    <link rel="stylesheet"
          tal:attributes="href python:branch.static_url('/static/css/global.css')" />
  </head>

  <body>
   <div id="loggerheadCont">
    <div>
      <div class="browse-project"
           tal:repeat="project projects">
        <h1 tal:content="project/friendly_name" />
        <div class="browse-project-description"
             tal:condition="python:len(project.long_description) > 0"
             tal:content="structure project/long_description"></div>

          <table id="logentries">
            <tr class="logheader">
              <th class="summarycell" colspan="2">Name</th>
              <th class="summarycell">Description</th>
              <th class="datecell" colspan="2">Last change</th>
            </tr>
            <tal:block repeat="view python:views_by_project[project]">
              <tr tal:attributes="class string:blueRow1">
                <td class="icocell">
                  <img tal:attributes="src python:branch.static_url('/static/images/ico_branch.gif')" alt="Branch" />
                </td>
                <td class="autcell">
                    <a tal:attributes="href python:branch.static_url(project.name + '/' +  view.name)" 
                       tal:content="view/friendly_name" />
                </td>
                <td class="autcell"
                    tal:content="view/description" />
                <td class="date"
                    tal:content="python:view.get_history().has_revisions and util._approximatedate(view.last_updated()) or '(no revisions)'" />
                <td class="icocell">
                  <a tal:attributes="href python:branch.static_url(project.name + '/' +  view.name + '/atom')"
                     title="atom feed">
                    <img tal:attributes="src python:branch.static_url('/static/images/ico_rss.gif')"
                         alt="atom feed" />
                  </a>
                </td>
              </tr>
              <tr tal:condition="view/served_url">
                <td class="name">
                </td>
                <td class="description url" colspan="2">
                  <a tal:attributes="href view/served_url"
                     tal:content="view/served_url" />
                </td>
              </tr>
            </tal:block>
          </table>
      </div>
    </div>
  </div>
  </body>
</html>