diff options
author | Vikraman Choudhury <vikraman.choudhury@gmail.com> | 2011-08-24 00:38:20 +0530 |
---|---|---|
committer | Vikraman Choudhury <vikraman.choudhury@gmail.com> | 2011-08-24 00:38:20 +0530 |
commit | 2a8c967cfa0a79f6121bf484711b0a187d2cbf1f (patch) | |
tree | f97b74d74f448f78ac0da68e06c90e9940034497 | |
parent | fix links (diff) | |
download | gentoostats-2a8c967cfa0a79f6121bf484711b0a187d2cbf1f.tar.gz gentoostats-2a8c967cfa0a79f6121bf484711b0a187d2cbf1f.tar.bz2 gentoostats-2a8c967cfa0a79f6121bf484711b0a187d2cbf1f.zip |
add sublinks in /package pages
-rw-r--r-- | server/templates/package.html | 3 | ||||
-rw-r--r-- | server/templates/package_c.html | 4 | ||||
-rw-r--r-- | server/templates/package_cp.html | 5 |
3 files changed, 9 insertions, 3 deletions
diff --git a/server/templates/package.html b/server/templates/package.html index 6b1f7da..76c1fdd 100644 --- a/server/templates/package.html +++ b/server/templates/package.html @@ -12,5 +12,6 @@ Top Categories:</br> <th>Hosts</th> </tr> $for p in pdata['TOP_C']: - <tr><td>$p['CAT']</td><td>$p['HOST_COUNT']</td></tr> + <tr><td><a href="package/$p['CAT']">$p['CAT']</a></td> + <td>$p['HOST_COUNT']</td></tr> </table> diff --git a/server/templates/package_c.html b/server/templates/package_c.html index 4971ca7..a5a875e 100644 --- a/server/templates/package_c.html +++ b/server/templates/package_c.html @@ -12,5 +12,7 @@ Top CPs:</br> <th>Hosts</th> </tr> $for p in pdata['TOP_CP']: - <tr><td>$p['CAT']</td><td>$p['PKG']</td><td>$p['HOST_COUNT']</td></tr> + <tr><td><a href="package/$p['CAT']">$p['CAT']</a></td> + <td><a href="$p['CAT']/$p['PKG']">$p['PKG']</a></td> + <td>$p['HOST_COUNT']</td></tr> </table> diff --git a/server/templates/package_cp.html b/server/templates/package_cp.html index ac39835..6297e0b 100644 --- a/server/templates/package_cp.html +++ b/server/templates/package_cp.html @@ -12,5 +12,8 @@ Top CPVs:</br> <th>Hosts</th> </tr> $for p in pdata['TOP_CPV']: - <tr><td>$p['CAT']</td><td>$p['PKG']</td><td>$p['VER']</td><td>$p['HOST_COUNT']</td></tr> + <tr><td><a href="package/$p['CAT']">$p['CAT']</a> + </td><td><a href="$p['CAT']/$p['PKG']">$p['PKG']<a> + </td><td><a href="$p['PKG']-$p['VER']">$p['VER']</a> + </td><td>$p['HOST_COUNT']</td></tr> </table> |