~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/browse.kid

  • Committer: Ian Clatworthy
  • Date: 2010-04-13 08:46:25 UTC
  • mto: This revision was merged to the branch mainline in revision 405.
  • Revision ID: ian.clatworthy@canonical.com-20100413084625-ih0ld6rreq3ia0l5
Minor tweaks to Tres' content

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
 
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#"
3
 
    py:extends="'master.kid'">
4
 
<head>
5
 
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type" py:replace="''"/>
6
 
    <title> loggerhead branches </title>
7
 
</head>
8
 
 
9
 
<body>
10
 
 
11
 
<h1>
12
 
    <span py:if="title">${title}</span>
13
 
    <span py:if="not title"> bazaar branches in loggerhead </span>
14
 
</h1>
15
 
 
16
 
<div class="browse-group" py:for="group in groups">
17
 
    <div class="browse-group-name">
18
 
        ${group.friendly_name}
19
 
    </div>
20
 
    
21
 
    <div class="browse-view">
22
 
        <table>
23
 
        <tr class="heading">
24
 
            <th> Name </th>
25
 
            <th> Description </th>
26
 
            <th> Last change </th>
27
 
        </tr>
28
 
        <span py:for="view in group.views">
29
 
            <tr>
30
 
            <td class="name"> <a href="${tg.url([ '/' + group.name, view.name ])}">${view.friendly_name}</a> </td>
31
 
            <td class="description"> ${view.description} </td>
32
 
            <td class="last-update"> <!--${view.last_updated().strftime('%d %b %Y')} &nbsp;--> ${util.ago(view.last_updated())} </td>
33
 
            </tr>
34
 
            <tr py:if="view.url">
35
 
                <td class="name"> </td>
36
 
                <td class="description url" colspan="2"> <a href="${view.branch_url}">${view.branch_url}</a> </td>
37
 
            </tr>
38
 
        </span>
39
 
        </table>
40
 
    </div>
41
 
 
42
 
</div>
43
 
 
44
 
</body>
45
 
</html>