Display check-in count and here now # of people, also trending venues is now displayed in a <table>
This commit is contained in:
@ -19,16 +19,25 @@ block content
|
|||||||
a(href='#users', data-toggle='tab') Users
|
a(href='#users', data-toggle='tab') Users
|
||||||
li
|
li
|
||||||
a(href='#checkins', data-toggle='tab') Checkins
|
a(href='#checkins', data-toggle='tab') Checkins
|
||||||
|
|
||||||
div.tab-content
|
div.tab-content
|
||||||
#venues.tab-pane.fade.active.in
|
#venues.tab-pane.fade.active.in
|
||||||
.lead
|
.lead Trending Venues
|
||||||
i.fa.fa-signal
|
table.table.table-bordered.table-hover
|
||||||
| Trending Venues
|
thead
|
||||||
.list-group
|
tr
|
||||||
|
th Name
|
||||||
|
th Location
|
||||||
|
th Checkins
|
||||||
|
th Here Now
|
||||||
|
tbody
|
||||||
for venue in venues
|
for venue in venues
|
||||||
a.list-group-item(href='#{venue.url}') #{venue.name}
|
tr
|
||||||
.text-muted
|
td= venue.name
|
||||||
small #{venue.location.address}, #{venue.location.city}, #{venue.location.state}
|
td #{venue.location.address}, #{venue.location.city}, #{venue.location.state}
|
||||||
|
td= venue.stats.checkinsCount
|
||||||
|
td= venue.hereNow.count
|
||||||
|
|
||||||
#users.tab-pane.fade
|
#users.tab-pane.fade
|
||||||
p TODO: Users
|
p TODO: Users
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user