[Astpp-commit] SF.net SVN: astpp: [2139] trunk
Brought to you by:
darrenkw
|
From: <dar...@us...> - 2007-11-01 06:01:54
|
Revision: 2139
http://astpp.svn.sourceforge.net/astpp/?rev=2139&view=rev
Author: darrenkw
Date: 2007-10-31 23:01:57 -0700 (Wed, 31 Oct 2007)
Log Message:
-----------
Resolve issue where the list of "counters" for packages was throwing an error over a missing template.
Modified Paths:
--------------
trunk/astpp-admin.cgi
Added Paths:
-----------
trunk/templates/counters-list.tpl
Modified: trunk/astpp-admin.cgi
===================================================================
--- trunk/astpp-admin.cgi 2007-11-01 05:17:42 UTC (rev 2138)
+++ trunk/astpp-admin.cgi 2007-11-01 06:01:57 UTC (rev 2139)
@@ -7992,9 +7992,8 @@
else {
$pagination = gettext("Page 1 of 1");
}
- $template->param( pagination => $pagination );
- $template->param( status => $status );
$template->param( counter_list => \@counter_list );
+ $template->param( pagination => $pagination );
return $template->output;
}
Added: trunk/templates/counters-list.tpl
===================================================================
--- trunk/templates/counters-list.tpl (rev 0)
+++ trunk/templates/counters-list.tpl 2007-11-01 06:01:57 UTC (rev 2139)
@@ -0,0 +1,26 @@
+<table class="default">
+ <tr class="header">
+ <td colspan=10>List Package Counters with time in them</td>
+ </tr>
+ <tr class="header">
+ <td>ID</td>
+ <td>Package Name</td>
+ <td>Account Name</td>
+ <td>Seconds Used</td>
+ </tr>
+ <TMPL_LOOP NAME="counter_list">
+ <TR>
+ <TD><TMPL_VAR NAME="id"></TD>
+ <TD><TMPL_VAR NAME="package"></TD>
+ <TD><TMPL_VAR NAME="account"></TD>
+ <TD><TMPL_VAR NAME="seconds"></TD>
+ </TR>
+ </TMPL_LOOP>
+</table>
+
+<table>
+ <tr>
+ <td><TMPL_VAR NAME="pagination"></td>
+ </tr>
+ </table>
+</form>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|