</time>
                <a href="${pr.ticket_url}" class="pull-right">
                    <span class="muted">
                    <% comments_len = len(pr.ticket.get_comments()) + len(pr.ticket.get_codereviews()) %>
                    ${comments_len} comments
                    </span>
                </a>
            </div>
        </div>
        % endif
    % endfor
</div>
</%def>

<%def name="render_issue(result)">
<div class="code-list">
  % for ir in result:
       <%
       ticket = ir.issue
     