[Bps-public-commit] App-Changeloggr branch, master, updated. afdb42d8317e453de7006548a76c7ebbec6fc25c

sartak at bestpractical.com sartak at bestpractical.com
Thu Jul 30 15:49:14 EDT 2009


The branch, master has been updated
       via  afdb42d8317e453de7006548a76c7ebbec6fc25c (commit)
      from  3632d6ac9fb22c64d7d35a6da6a0f3b04d55416c (commit)

Summary of changes:
 lib/App/Changeloggr/View/Leaderboard.pm |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit afdb42d8317e453de7006548a76c7ebbec6fc25c
Author: Shawn M Moore <sartak at gmail.com>
Date:   Thu Jul 30 15:49:06 2009 -0400

    Page titles for leaderboard

diff --git a/lib/App/Changeloggr/View/Leaderboard.pm b/lib/App/Changeloggr/View/Leaderboard.pm
index c37fccd..382c52b 100644
--- a/lib/App/Changeloggr/View/Leaderboard.pm
+++ b/lib/App/Changeloggr/View/Leaderboard.pm
@@ -7,11 +7,13 @@ use warnings;
 template '/global' => page {
     my $votes = M('VoteCollection');
     $votes->unlimit;
+    title is 'Leaderboard';
     show_leaderboard($votes);
 };
 
 template '/changelog' => page {
     my $changelog = Changelog(name => get('changelog'));
+    title is _('Leaderboard for %1', $changelog->name);
     show_leaderboard($changelog->votes);
 };
 

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list