+
+ {pools.map((pool, index) => {
+ let background;
+ if (index % 2 === 0) {
+ background = '#F1EAE8';
+ } else {
+ background = '#FFFFFF';
+ }
+ return (
+
+
+ {pool.pool_title}
+
+
+ Capacity: {pool.participants.length} / {pool.capacity}
+
+
Start Time: {pool.start_time}
+
End Time: {pool.end_time}
+
+ {maybePluralize(pool.comments.length, 'comment')}
+
+
+ );
+ })}
+