From b7ae5e74b350b2c1d012d66aa8d3bf5db8903838 Mon Sep 17 00:00:00 2001 From: Sahat Yalkabov Date: Sat, 30 Nov 2013 00:03:31 -0500 Subject: [PATCH] Display check-in count and here now # of people, also trending venues is now displayed in a --- views/api/foursquare.jade | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/views/api/foursquare.jade b/views/api/foursquare.jade index 3aa86b97eb..a2912f2a6e 100644 --- a/views/api/foursquare.jade +++ b/views/api/foursquare.jade @@ -19,16 +19,25 @@ block content a(href='#users', data-toggle='tab') Users li a(href='#checkins', data-toggle='tab') Checkins + div.tab-content #venues.tab-pane.fade.active.in - .lead - i.fa.fa-signal - | Trending Venues - .list-group - for venue in venues - a.list-group-item(href='#{venue.url}') #{venue.name} - .text-muted - small #{venue.location.address}, #{venue.location.city}, #{venue.location.state} + .lead Trending Venues + table.table.table-bordered.table-hover + thead + tr + th Name + th Location + th Checkins + th Here Now + tbody + for venue in venues + tr + td= venue.name + td #{venue.location.address}, #{venue.location.city}, #{venue.location.state} + td= venue.stats.checkinsCount + td= venue.hereNow.count + #users.tab-pane.fade p TODO: Users