Subversion Repositories DevTools

Rev

Rev 1295 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1293 dpurdie 1
[%# Display a list of projects #%]
2
 
3
[% PROCESS header.html.tmpl version = version displaymenu = 1 
4
                            closehead = 1 help = "x370.html" %]
5
 
6
[%# Display any "feedback" to the user if necessary. #%]
7
[% IF feedback != '' %]
8
    <span class="feedback">[% feedback %]</span>
9
[% END %]
10
 
11
<H1>Project list</H1>
12
 
13
<P>
14
 
15
<TABLE WIDTH="100%" CELLPADDING="2" CELLSPACING="2" BORDER="0">
16
 
17
[%# Display the table header #%]
18
<tr class="tlh">
19
  <th>Name</th>
20
  <th>Description</th>
21
  <th>State</th>
22
  <th># Open Topics</th>
23
  <th># Topics</th>
24
</tr>
25
 
26
[% FOREACH project = projects %]
27
[% FLUSH IF loop.count() % 10 == 1 %]
28
 
29
<TR CLASS="[% loop.count() % 2 == 0 ? 'tl1' : 'tl2' %]">
30
<TD>
31
<A HREF="[% project.edit_url %]">[% project.name | html_entity %]</A>
32
</TD>
33
<TD>[% project.description | html_entity %]</TD>
34
<TD>[% project.state | html_entity %]</TD>
35
<TD align="right"><a href="[% project.open_topic_list_url %]">[% project.num_open_topics %]</a></TD>
36
<TD align="right"><a href="[% project.topic_list_url %]">[% project.num_topics %]</a></TD>
37
</TR>
38
[% END %]
39
 
40
<tr class="tlh">
41
  <td colspan="5">&nbsp;</td>
42
</tr>
43
</TABLE>
44
 
45
<P>
46
 
47
<HR/>
48
 
49
<A HREF="[% create_project_url %]">Create new project</A>
50
 
51
[% PROCESS trailer.html.tmpl %]
52
 
53
</BODY>
54
</HTML>