about summary refs log tree commit diff
path: root/views/project/index.tt
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2011-05-12 21:13:00 +0200
committerfranck cuny <franck@lumberjaph.net>2011-05-12 21:13:00 +0200
commit623bbeea829ff42622c4052cc7360c01264f3906 (patch)
tree854ea535c3d7770aa15d1c928e362df19cca6426 /views/project/index.tt
parentRemove an errant console.log (diff)
downloadjitterbug-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 'views/project/index.tt')
-rw-r--r--views/project/index.tt2
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">