pan class="state-indicator closed">Closed</span>
                % else:
                <span class="state-indicator open">Open</span>
                % endif
            </span>
            <p>
                % if pullreq.is_up_to_date() and not ticket.closed:
                    Oops! The
                    ${repo_branch(pullreq.to_proj, pullreq.to_branch)}
                    branch is already up-to-date with
                    ${repo_branch(pullreq.from_proj, pullreq.from_branch)}
                  