Subject: | [WISHLIST] dist version in author view |
Date: | Wed, 30 Jan 2008 13:50:45 -0200 |
To: | bug-Module-CPANTS-Site [...] rt.cpan.org, "Thomas Klausner" <domm [...] cpan.org> |
From: | "Adriano Ferreira" <a.r.ferreira [...] gmail.com> |
Hi, Thomas.
This tiny patch touches
cpants/templates/author/view
to add a "title" attribute (with content "d.version") into the link of
the latest version distribution. That way, when the mouse hovers over
the link, you see which dist version CPANTS reports about.
Some minor additions to docs of lib/Module/CPANTS/Site.pm also (new
sections WEBSITE, SEE ALSO, and BUGS).
Thanks for you work at CPANTS.
Kind regards,
Adriano Ferreira
diff -ru Module-CPANTS-Site-0.73/cpants/templates/author/view
Module-CPANTS-Site/cpants/templates/author/view
--- Module-CPANTS-Site-0.73/cpants/templates/author/view
2008-01-29 08:16:49.000000000 -0200
+++ Module-CPANTS-Site/cpants/templates/author/view 2008-01-30
13:43:03.000000000 -0200
@@ -47,7 +47,7 @@
[% FOREACH d IN item.dists( {}, { 'order_by' => 'dist' } ) %]
[% kwal = d.kwalitee %]
<tr>
-<td><a href="/dist/overview/[% d.dist %]">[% d.dist %]</td>
+<td><a href="/dist/overview/[% d.dist %]" title="[% d.version %]">[%
d.dist %]</td>
<td align="center">[% kwal.kwalitee %]</td>
[% FOREACH kw IN mck.core_indicator_names.sort %]
diff -ru Module-CPANTS-Site-0.73/lib/Module/CPANTS/Site.pm
Module-CPANTS-Site/lib/Module/CPANTS/Site.pm
--- Module-CPANTS-Site-0.73/lib/Module/CPANTS/Site.pm 2008-01-29
08:16:49.000000000 -0200
+++ Module-CPANTS-Site/lib/Module/CPANTS/Site.pm 2008-01-30
13:41:35.000000000 -0200
@@ -83,6 +83,24 @@
=cut
+=head1 WEBSITE
+
+http://cpants.perl.org/
+
+=head1 SEE ALSO
+
+ Module::CPANTS::Analyse
+ Module::CPANTS::ProcessCPAN
+
+
+=head1 BUGS
+
+Please report any bugs or feature requests, or send any patches, to
+bug-module-cpants-site at rt.cpan.org, or through the web interface at
+http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Module-CPANTS-Site.
+I will be notified, and then you'll automatically be notified of progress
+on your bug as I make changes.
+
=head1 AUTHOR
Message body is not shown because sender requested not to inline it.