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

sartak at bestpractical.com sartak at bestpractical.com
Tue May 19 10:54:09 EDT 2009


The branch, master has been updated
       via  7bbbaa926fd7e044c981ed97c0def3c9b889154b (commit)
      from  326e89a6142c839d02d4c1501106df7b3f620b42 (commit)

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

- Log -----------------------------------------------------------------
commit 7bbbaa926fd7e044c981ed97c0def3c9b889154b
Author: Shawn M Moore <sartak at gmail.com>
Date:   Tue May 19 10:53:56 2009 -0400

    Add the commit identifier to the top right of the change box

diff --git a/lib/App/Changeloggr/View.pm b/lib/App/Changeloggr/View.pm
index 503113b..9405fbe 100644
--- a/lib/App/Changeloggr/View.pm
+++ b/lib/App/Changeloggr/View.pm
@@ -85,6 +85,11 @@ sub show_change {
     div {
         { class is "change" };
 
+        p {
+            { class is "identifier" };
+            $change->identifier;
+        };
+
         h3 {
             { class is "change_message" };
             my $message = Jifty->web->escape($change->message);
diff --git a/share/web/static/css/app.css b/share/web/static/css/app.css
index 5aa7aa1..1ecda27 100644
--- a/share/web/static/css/app.css
+++ b/share/web/static/css/app.css
@@ -111,4 +111,11 @@ hr {
 
 .external_source {
   float: right;
-}
\ No newline at end of file
+}
+
+.change .identifier {
+  font-size: .7em;
+  text-align: right;
+  color: #999;
+}
+

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



More information about the Bps-public-commit mailing list