diff options
author | franck cuny <franck@lumberjaph.net> | 2011-05-12 21:13:00 +0200 |
---|---|---|
committer | franck cuny <franck@lumberjaph.net> | 2011-05-12 21:13:00 +0200 |
commit | 623bbeea829ff42622c4052cc7360c01264f3906 (patch) | |
tree | 854ea535c3d7770aa15d1c928e362df19cca6426 /views/project/index.tt | |
parent | Remove an errant console.log (diff) | |
download | jitterbug-623bbeea829ff42622c4052cc7360c01264f3906.tar.gz |
Fix #65 - show the last 3 days of commits in a project
Signed-off-by: franck cuny <franck@lumberjaph.net>
Diffstat (limited to '')
-rw-r--r-- | views/project/index.tt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/project/index.tt b/views/project/index.tt index 74f41e9..db123c0 100644 --- a/views/project/index.tt +++ b/views/project/index.tt @@ -8,7 +8,7 @@ : my $total = $total_by_days[$day]; : my $plural = $total > 1 ? 's' : ''; <h3 class="builds-day" id="builds-day-<: $day :>"><: $day :> - <: $total_by_days[$day] :> build<: $plural :></h3> - : if $~day == 0 { + : if $~day < 3 { <div class="commits" id="commits-day-<: $day :>"> : }else{ <div class="commits" id="commits-day-<: $day :>" style="display:none"> |