~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/browse.kid

  • Committer: Robey Pointer
  • Date: 2007-03-26 06:08:50 UTC
  • Revision ID: robey@lag.net-20070326060850-69b3yu2i6udttzjq
include more stuff in the manifest

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
    <span py:if="not title"> bazaar branches in loggerhead </span>
14
14
</h1>
15
15
 
16
 
<div class="browse-group" py:for="group in groups">
17
 
    <div class="browse-group-name">
18
 
        ${group.friendly_name}
 
16
<div class="browse-project" py:for="project in projects">
 
17
    <div class="browse-project-name">
 
18
        ${project.friendly_name}
 
19
    </div>
 
20
    
 
21
    <div class="browse-project-description" py:if="len(project.long_description) > 0">
 
22
    ${XML(project.long_description)}
19
23
    </div>
20
24
    
21
25
    <div class="browse-view">
24
28
            <th> Name </th>
25
29
            <th> Description </th>
26
30
            <th> Last change </th>
 
31
            <th />
27
32
        </tr>
28
 
        <span py:for="view in group.views">
 
33
        <span py:for="view in project.views">
29
34
            <tr>
30
 
            <td class="name"> <a href="${tg.url([ '/' + group.name, view.name ])}">${view.friendly_name}</a> </td>
 
35
            <td class="name"> <a href="${tg.url([ '/' + project.name, view.name ])}">${view.friendly_name}</a> </td>
31
36
            <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>
 
37
            <td class="last-update"> ${util.ago(view.last_updated())} </td>
 
38
            <td class="feed">
 
39
                <a href="${tg.url([ '/' + project.name, view.name, 'atom' ])}" title="atom feed">
 
40
                    <img src="${tg.url('/static/images/feed-icon-16x16.gif')}" alt="atom feed" />
 
41
                </a>
 
42
            </td>
33
43
            </tr>
34
 
            <tr py:if="view.url">
 
44
            <tr py:if="view.branch_url is not None">
35
45
                <td class="name"> </td>
36
46
                <td class="description url" colspan="2"> <a href="${view.branch_url}">${view.branch_url}</a> </td>
37
47
            </tr>