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

sartak at bestpractical.com sartak at bestpractical.com
Wed Apr 29 12:07:53 EDT 2009


The branch, master has been updated
       via  9fbd29b94cc964862bdd4a5f19d8237edf4cf8f3 (commit)
      from  4aecd423e98bac96f9001718bd0b4c882be7ddb6 (commit)

Summary of changes:
 lib/App/Changeloggr/View.pm  |    6 ++++++
 share/web/static/css/app.css |    7 +++++++
 2 files changed, 13 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit 9fbd29b94cc964862bdd4a5f19d8237edf4cf8f3
Author: Shawn M Moore <sartak at gmail.com>
Date:   Wed Apr 29 12:07:44 2009 -0400

    Add change metadata (author, date)

diff --git a/lib/App/Changeloggr/View.pm b/lib/App/Changeloggr/View.pm
index bf17b3f..ed98f9b 100644
--- a/lib/App/Changeloggr/View.pm
+++ b/lib/App/Changeloggr/View.pm
@@ -90,6 +90,12 @@ sub show_change {
             outs_raw( $message );
         };
 
+        ul {
+            { class is "change_metadata" };
+            li { "Author: " . $change->author };
+            li { "Date: " . $change->date };
+        };
+
         my $id = $change->id;
         hyperlink(
             label => 'more...',
diff --git a/share/web/static/css/app.css b/share/web/static/css/app.css
index 60826da..6cb5151 100644
--- a/share/web/static/css/app.css
+++ b/share/web/static/css/app.css
@@ -80,3 +80,10 @@ dl.keybindings dd {
   padding: 1em;
   border: 5px solid #000;
 }
+
+ul.change_metadata {
+    list-style-type: none;
+    font-size: .8em;
+    padding-left: 0;
+}
+

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



More information about the Bps-public-commit mailing list