[csw-devel] SF.net SVN: opencsw:[306] web/wordpresscsw/wp-content/themes/opencsw
wbonnet at users.sourceforge.net
wbonnet at users.sourceforge.net
Mon Feb 21 11:40:40 CET 2011
Revision: 306
http://opencsw.svn.sourceforge.net/opencsw/?rev=306&view=rev
Author: wbonnet
Date: 2011-02-21 10:40:40 +0000 (Mon, 21 Feb 2011)
Log Message:
-----------
add missing links between qa pages and standard pages
Modified Paths:
--------------
web/wordpresscsw/wp-content/themes/opencsw/maintainer.php
web/wordpresscsw/wp-content/themes/opencsw/package.php
web/wordpresscsw/wp-content/themes/opencsw/qa-maintainers-activity.php
web/wordpresscsw/wp-content/themes/opencsw/qa-package.php
Modified: web/wordpresscsw/wp-content/themes/opencsw/maintainer.php
===================================================================
--- web/wordpresscsw/wp-content/themes/opencsw/maintainer.php 2011-02-21 01:22:06 UTC (rev 305)
+++ web/wordpresscsw/wp-content/themes/opencsw/maintainer.php 2011-02-21 10:40:40 UTC (rev 306)
@@ -51,11 +51,21 @@
print "<th>Status</th><td>" . $maintainerStatus . "</td>\n" ;
print "</tr>\n" ;
print "<tr>\n" ;
+ print "<th>QA page</th><td><a title='" . $maintainerFullName . " QA page' href=/qa/maintainer/" . $maintainerLogin . ">Go to " . $maintainerFullName . " QA page</a></td>\n" ;
+ print "</tr>\n" ;
+ print "<tr>\n" ;
print "<th>Bug tracking</th><td><a href=/buglist/maintainer.cgi?maintainer='" . $maintainerLogin . "'>List of open/relevant bugs for " . $maintainerFullName . "</a>\n" ;
print "</tr>\n" ;
print "<tr>\n" ;
- print "<th>Last activity date</th><td><a href=/package/" . $lastActivityInfo[0]["software"] . ">" . $lastActivityInfo[0]["software"] . "</a> has been added to unstable on " . $lastActivityInfo[0]["date"] . "</td>\n" ;
+ if ($lastActivityInfo[0]["date"] != "") {
+ print "<th>Last packaging activity</th><td><a href=/package/" . $lastActivityInfo[0]["software"] . ">" . $lastActivityInfo[0]["software"] . "</a> has been added to unstable on " . $lastActivityInfo[0]["date"] . "</td>\n" ;
+ } else {
+ print "<th>Last packaging activity</th><td>No information available</td>\n" ;
+ }
print "</tr>\n" ;
+ print "<tr>\n" ;
+ print "<th>Last bug tracker activity</th><td>No information available</td>\n" ;
+ print "</tr>\n" ;
print "</tbody>";
print "</table>";
Modified: web/wordpresscsw/wp-content/themes/opencsw/package.php
===================================================================
--- web/wordpresscsw/wp-content/themes/opencsw/package.php 2011-02-21 01:22:06 UTC (rev 305)
+++ web/wordpresscsw/wp-content/themes/opencsw/package.php 2011-02-21 10:40:40 UTC (rev 306)
@@ -77,6 +77,9 @@
}
print "</td>\n" ;
print "</tr>\n" ;
+ print "<tr>\n" ;
+ print "<th>QA page</th><td><a title='" . $softwareName . " QA page' href=/qa/package/" . $softwareName . ">Go to " . $softwareName . " QA page</a></td>\n" ;
+ print "</tr>\n" ;
print "<tr>\n" ;
print "<th>Maintainer</th><td>" ;
if ( $maintainerStatus == "Active" ) {
Modified: web/wordpresscsw/wp-content/themes/opencsw/qa-maintainers-activity.php
===================================================================
--- web/wordpresscsw/wp-content/themes/opencsw/qa-maintainers-activity.php 2011-02-21 01:22:06 UTC (rev 305)
+++ web/wordpresscsw/wp-content/themes/opencsw/qa-maintainers-activity.php 2011-02-21 10:40:40 UTC (rev 306)
@@ -34,7 +34,7 @@
print "<table border=\"0\">";
print "<tbody class=\"package-list\">";
print "<tr>";
- print "<th>Name</th><th>Last activity date</th><th>Package</th>\n" ;
+ print "<th>Name</th><th>Last packaging activity</th><th>Most recently updated package</th><th>Last bug tracker activity</th>\n" ;
print "</tr>";
$totalPkg = 0;
for( $i = 0 ; $i < count($arrayMaint) ; $i++) {
@@ -46,6 +46,7 @@
} else {
print "<td><a title='" . $maint["fullname"] . "' href='/maintainers/" . $maint["maintainer"] . "'>" . $maint["fullname"] . "</a></td><td>" . $lastActivityInfo[0]["date"] . "</td><td><a href=/package/" . $lastActivityInfo[0]["software"] . ">" . $lastActivityInfo[0]["software"] . "</a></td>\n";
}
+ print "<td></td>";
}
// Close table
Modified: web/wordpresscsw/wp-content/themes/opencsw/qa-package.php
===================================================================
--- web/wordpresscsw/wp-content/themes/opencsw/qa-package.php 2011-02-21 01:22:06 UTC (rev 305)
+++ web/wordpresscsw/wp-content/themes/opencsw/qa-package.php 2011-02-21 10:40:40 UTC (rev 306)
@@ -35,7 +35,7 @@
print "<div id=\"content\">";
print "<div class=\"post hentry\">";
- print "<h3>Details for $pkgName</h3>";
+ print "<h3>QA page for $pkgName</h3>";
print "<div class=\"entry\">";
print "<br>";
print "<p>The requested software $pkgName does not exist in our package database.</p>";
@@ -48,7 +48,7 @@
print "<div id=\"content\">";
print "<div class=\"post hentry\">";
- print "<h3>Details for $softwareName</h3>";
+ print "<h3>QA page for $softwareName</h3>";
print "<div class=\"entry\">";
print "<p>Information about Solaris package $pkgName.</p>";
print "<table border=\"0\">";
@@ -79,6 +79,9 @@
}
print "</td>\n" ;
print "</tr>\n" ;
+ print "<tr>\n" ;
+ print "<th>Package page</th><td><a title='" . $softwareName . " package page' href=/package/" . $softwareName . ">Go to " . $softwareName . " page</a></td>\n";
+ print "</tr>\n" ;
print "<tr>\n" ;
print "<th>Maintainer</th><td>" ;
if ( $maintainerStatus == "Active" ) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list