<%def name="patch_heading(patch, index=0, project=None, is_discussion=False)">
    ## meta 上的 data 哪里有用？
    <div class="meta" id="${patch.old_file_path}" data-path="${patch.old_file_path}" data-new-path="${patch.new_file_path}">
        % if patch.repo.provide('project'):
            ${patch_data(patch)}
        % endif
        <div class="info">
            ${patch_stat(index, patch, 'diff')}
            % if patch.status == 'R':
            <span class="patch-title" title="${patch.old_file_