a-new-path="${patch.new_file_path}"
    data-from-oid="${patch.old_file_sha}"
    data-to-oid="${patch.new_file_sha}"
## FIXME: context_url is None
    data-context-url="${patch.repo.context_url}">
</%def>

<%def name="patch_skipped(patch)">
    <%
        ## FIXME: 对于pull/new 的url，还没有ticket
        fulltext_url = patch.repo.fulltext_url
        whitespace_url = patch.repo.api_url + 'toggle_whitespace'
    %>
    <div class="skipped-container">
        <div class="line-numbers-skipped skipped-