diff options
author | Romain d'Alverny <rda@mageia.org> | 2012-09-10 08:45:23 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2012-09-10 08:45:23 +0000 |
commit | b5e9ac38472170a10f16887e3d56a891606d1745 (patch) | |
tree | 41b41fbf1ed80d57f67273c749afd9d676c70e4c /test_index.php | |
parent | 0ea3566adec452d3204017e9c50e8557a32201a9 (diff) | |
download | pkgsubmit-b5e9ac38472170a10f16887e3d56a891606d1745.tar pkgsubmit-b5e9ac38472170a10f16887e3d56a891606d1745.tar.gz pkgsubmit-b5e9ac38472170a10f16887e3d56a891606d1745.tar.bz2 pkgsubmit-b5e9ac38472170a10f16887e3d56a891606d1745.tar.xz pkgsubmit-b5e9ac38472170a10f16887e3d56a891606d1745.zip |
explicit link to changes
Diffstat (limited to 'test_index.php')
-rw-r--r-- | test_index.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test_index.php b/test_index.php index 5be4aa3..b3304c3 100644 --- a/test_index.php +++ b/test_index.php @@ -192,7 +192,8 @@ if (!is_null($upload_time)) { $s = ''; $tmpl = <<<T <tr class="%s"> - <td><a rel="nofollow" href="http://svnweb.mageia.org/packages?view=revision&revision=%d" title="%s" class="package">%s</a></td> + <td><a rel="nofollow" href="%s" title="%s" class="package">%s</a> + <span class="revision"><a href="%s">view changes @ r%d</a></span></td> <td><a rel="nofollow" href="?user=%s" class="committer">%s</a> <span class="timeinfo">%s</span></td> <td>%s @@ -205,12 +206,14 @@ if ($total > 0) { if (trim($p['package']) == '') { continue; } + $revision_link = sprintf('http://svnweb.mageia.org/packages?view=revision&revision=%d', $p['revision']); $s .= sprintf($tmpl, $p['type'], - $p['revision'], + $revision_link, addslashes($p['summary']), $p['package'], + $revision_link, $p['revision'], $p['user'], $p['user'], timediff(key2timestamp($key)) . ' ago', $p['version'], |