r2759 - people/goneri/SvnBuildStat-WWW/root/src/packages

Gonéri Le Bouder goneri-guest at alioth.debian.org
Tue May 29 18:23:34 UTC 2007


Author: goneri-guest
Date: 2007-05-29 18:23:34 +0000 (Tue, 29 May 2007)
New Revision: 2759

Modified:
   people/goneri/SvnBuildStat-WWW/root/src/packages/info.tt2
   people/goneri/SvnBuildStat-WWW/root/src/packages/main.tt2
Log:
fix the way uptodate package is detected


Modified: people/goneri/SvnBuildStat-WWW/root/src/packages/info.tt2
===================================================================
--- people/goneri/SvnBuildStat-WWW/root/src/packages/info.tt2	2007-05-29 18:22:12 UTC (rev 2758)
+++ people/goneri/SvnBuildStat-WWW/root/src/packages/info.tt2	2007-05-29 18:23:34 UTC (rev 2759)
@@ -28,7 +28,7 @@
   [% END %]
   </td>
 </tr>
-[% IF ! isuptodate %]
+[% IF isuptodate == 1 %]
 <tr><td class="error">A new upstream ([% upstreamrelease %]) release exists.</a></td></tr>
 [% END %]
 </table>

Modified: people/goneri/SvnBuildStat-WWW/root/src/packages/main.tt2
===================================================================
--- people/goneri/SvnBuildStat-WWW/root/src/packages/main.tt2	2007-05-29 18:22:12 UTC (rev 2758)
+++ people/goneri/SvnBuildStat-WWW/root/src/packages/main.tt2	2007-05-29 18:23:34 UTC (rev 2759)
@@ -64,9 +64,11 @@
     <td [% IF package.isindebian %]class="ok"[% ELSE %]class="warning"[% END %]>
         [% IF ! package.isindebian %]No[% END %]
     </td>
-    <td [% IF package.isuptodate %]class="ok"[% ELSE %]class="error"[% END %]>
+    <td [% IF package.isuptodate == 1 %]class="ok"[% ELSE %][% IF package.isuptodate == 0 %]class="error"[% END %][% END %]>
     <a href="[% Catalyst.uri_for('info/') _ package.name %]">
-        [% IF ! package.isuptodate %]No[% END %]
+        [% IF package.isuptodate == 0 %]No[% END %]
+        [% IF package.isuptodate == 1 %]Yes[% END %]
+        [% IF package.isuptodate == "" %]No watch file[% END %]
       </a>
     </td>
   </tr>




More information about the Pkg-games-commits mailing list