The [[projects]]
macro should support a show_total option, which would put <div class="macro_projects_total">123 Projects</div>
right before rendering the list. On the Motorola neighborhood, custom css should be added so #macro_projects_total is centered on its line.
On allura js/2637. To test put this on a neighborhood project level wiki: [[projects show_total=True]] You will see text indicating how many projects there are. I added this css to the Motorola neighborhood css already: p.macro_projects_total{ text-align:center }
I pushed a fix to the branch for the documentation we talked about.
Hmm, can we tweak it so that the number reflects what users see after permission checks? Deep within the macro, templates/widgets/project_list_widget.html does a permission check. Can you try refactoring that up a few levels into the macro itself, so that possibly-shortened list's count can be used?
Added a permission check to the count