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

sartak at bestpractical.com sartak at bestpractical.com
Wed Apr 1 15:11:31 EDT 2009


The branch, master has been updated
       via  19b790d31249ebd357cbc6ad6ddf0e146ac3947a (commit)
      from  43393fe729b98999c8df2abd129a9bb27d64d33d (commit)

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

- Log -----------------------------------------------------------------
commit 19b790d31249ebd357cbc6ad6ddf0e146ac3947a
Author: Shawn M Moore <sartak at gmail.com>
Date:   Wed Apr 1 15:11:23 2009 -0400

    Display number of changes in your changelog

diff --git a/lib/App/Changeloggr/View.pm b/lib/App/Changeloggr/View.pm
index 647e296..a824b60 100644
--- a/lib/App/Changeloggr/View.pm
+++ b/lib/App/Changeloggr/View.pm
@@ -87,6 +87,10 @@ template '/changelog/admin' => page {
 sub add_changes_to {
     my $changelog = shift;
 
+    if ($changelog->changes->count) {
+        p { _("This changelog has %quant(%1,change).", $changelog->changes->count) }
+    }
+
     my $add_changes = new_action('AddChanges');
 
     form {

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



More information about the Bps-public-commit mailing list