commit 3e190aa23e6def3ab3a84dea1f2a4d2fb12b6fa3
Author: Elan Ruusamäe <[email protected]>
Date:   Mon Jun 8 18:06:46 2015 +0300

    number items

 html/qa.php | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/html/qa.php b/html/qa.php
index ca8f969..bd8d661 100644
--- a/html/qa.php
+++ b/html/qa.php
@@ -50,14 +50,16 @@ if (isset($reports[$report])) {
        echo "<a href=$report.txt>raw</a><br/>\n";
        $file = "$report.txt";
        $giturl = 
'http://git.pld-linux.org/gitweb.cgi?p=packages/%1$s.git;f=%1$s.spec;h=HEAD;a=shortlog';
+       echo '<ol>';
        foreach (file($file) as $line) {
                $line = 
preg_replace_callback('/^(?P<prefix>error:|GIT:)\s*\[(?P<spec>[^]]+)\]\s*(?P<msg>.+)$/',
 function($m) use ($giturl) {
                        $package = basename($m['spec'], '.spec');
                        $url = sprintf($giturl, $package);
-                       return sprintf('<font color=red>%s</font> [<a 
href="%s">%s</a>] %s', $m['prefix'], $url, $m['spec'], $m['msg']);
+                       return sprintf('<li><font color=red>%s</font> [<a 
href="%s">%s</a>] %s', $m['prefix'], $url, $m['spec'], $m['msg']);
                }, $line);
                echo $line, "<br/>\n";
        }
+       echo '</ol>';
 }
 
 ?>
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/pld-ftp-admin.git/commitdiff/3e190aa23e6def3ab3a84dea1f2a4d2fb12b6fa3

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to