mastbaum/philadelphia — pull request #54 by gffs (2012-11-17 22:24:28+00:00)
Title: added attachments indicator on the list page

views/reports/map is used to count attachments,
only the pieces of information we need are extracted,
and emitted, no information is altered.

views/reports/reduce is used to sum up the attachment counts,
and to merge basic info and the report header,
if there were multiple basic information blocks,
the last one would be used;

list/reports is used to initialize the row with sane defaults first,
and then the fields are overwritten from the view,
"group: true" was added to philly.index.js to use the reduce function

philly.css was added to make the counter easier on eyes