Opportunity: Adds total number of participants to a meetup
authorLucas Bajolet <r4pass@hotmail.com>
Wed, 3 Jun 2015 15:28:48 +0000 (11:28 -0400)
committerLucas Bajolet <r4pass@hotmail.com>
Wed, 3 Jun 2015 15:28:48 +0000 (11:28 -0400)
Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>

contrib/opportunity/src/templates/meetup.nit

index 6eca566..07a5f66 100644 (file)
@@ -356,7 +356,7 @@ redef class Meetup
                end
                t.add """
 <tr id="total">
-       <th>Total</th>
+       <th>Total ({{{participants(db).length}}})</th>
                """
                for i in answers(db) do
                        t.add """<th id="total{{{i.id}}}"><center>{{{i.count(db)}}}"""