The following {{ plural('bug has', data, pword='bugs have') }} a needinfo, {{ plural('is', data, pword='are') }} marked as affecting a released version, and {{ plural('has', data, pword='have') }} no activity for the last {{ extra['nweeks'] }} {{ plural('week', extra['nweeks']) }} (when the bug is red, then the needinfo is on a person with no manager):

{% for i, (bugid, summary, needinfos, last_comment) in enumerate(data) -%} {% endfor -%}
Bug Summary Needinfos Last comment
{{ bugid }} {{ summary | e }} {{ last_comment }}