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

sartak at bestpractical.com sartak at bestpractical.com
Wed Apr 29 01:38:59 EDT 2009


The branch, master has been updated
       via  42c0616cd12495adff26f41ccd54b9482c5b9100 (commit)
      from  d1694917af5de401fda645374eb639458216c2b9 (commit)

Summary of changes:
 lib/App/Changeloggr/Action/AddChanges.pm |    3 +--
 lib/App/Changeloggr/View/Admin.pm        |    9 +++++++++
 2 files changed, 10 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit 42c0616cd12495adff26f41ccd54b9482c5b9100
Author: Shawn M Moore <sartak at gmail.com>
Date:   Wed Apr 29 01:38:40 2009 -0400

    Move the hint to a more fleshed-out list in the add-changes tab

diff --git a/lib/App/Changeloggr/Action/AddChanges.pm b/lib/App/Changeloggr/Action/AddChanges.pm
index 7b1a04f..c44a754 100644
--- a/lib/App/Changeloggr/Action/AddChanges.pm
+++ b/lib/App/Changeloggr/Action/AddChanges.pm
@@ -11,8 +11,7 @@ use Jifty::Action schema {
     param changes =>
         type is 'text',
         render as 'upload',
-        is mandatory,
-        hints is 'Formats we accept: git log --pretty=fuller --stat, svn log, or svn log --xml';
+        is mandatory;
 };
 
 sub take_action {
diff --git a/lib/App/Changeloggr/View/Admin.pm b/lib/App/Changeloggr/View/Admin.pm
index 2817bf2..73bb038 100644
--- a/lib/App/Changeloggr/View/Admin.pm
+++ b/lib/App/Changeloggr/View/Admin.pm
@@ -64,6 +64,15 @@ sub add_changes_to {
 
         form_submit(label => 'Add');
     };
+
+    p {
+        outs 'We accept the following log formats.';
+        ul {
+            li { tt { 'git log --pretty=fuller --stat' }};
+            li { tt { 'svn log' }};
+            li { tt { 'svn log --xml' }};
+        }
+    };
 }
 
 sub edit_links {

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



More information about the Bps-public-commit mailing list