afbaa4f0b36e1aec494b123a3526e9499d5a90c3

Author: gwoo

Date: 2009-02-14 10:11:24 -0800

updating timeline commits

diff --git a/models/commit.php b/models/commit.php index 12c7c4d..627d7c9 100644 --- a/models/commit.php +++ b/models/commit.php @@ -64,7 +64,6 @@ class Commit extends AppModel { 'project_id' => $this->data['Commit']['project_id'], 'model' => 'Commit', 'foreign_key' => $this->id, - 'created' => $this->data['Commit']['commit_date'] )); $Timeline->create($timeline); diff --git a/views/elements/timeline/commit.ctp b/views/elements/timeline/commit.ctp index 99dca96..875e4f2 100644 --- a/views/elements/timeline/commit.ctp +++ b/views/elements/timeline/commit.ctp @@ -8,7 +8,7 @@ ?> <span class="date"> <?php - echo date("H:i", strtotime($data['Commit']['commit_date'])); + echo date("H:i", strtotime($data['Commit']['created'])); ?> </span> <p> diff --git a/webroot/css/chaw.css b/webroot/css/chaw.css index b58925e..a570a25 100644 --- a/webroot/css/chaw.css +++ b/webroot/css/chaw.css @@ -681,7 +681,7 @@ div.wiki-text code { margin: 0; margin-top: 1px; font-family: "Andale Mono", monospace; - font-size: 85%; + font-size: 90%; } .timeline .event span.admin { float: right;