equal
deleted
inserted
replaced
167 ) |
167 ) |
168 ), |
168 ), |
169 html.td(host.render_name()), |
169 html.td(host.render_name()), |
170 html.td(host.when()), |
170 html.td(host.when()), |
171 ) for i, host in enumerate(hosts) |
171 ) for i, host in enumerate(hosts) |
|
172 ), |
|
173 html.tfoot( |
|
174 html.tr( |
|
175 html.td(colspan=(1 + len(COLS)))( |
|
176 # XXX: does separate SELECT count() |
|
177 "{count} hosts".format(count=hosts.count()) |
|
178 ) |
|
179 ) |
172 ) |
180 ) |
173 ) |
181 ) |
174 |
182 |
175 if filters is False : |
183 if filters is False : |
176 return table |
184 return table |