<%inherit file="/base/base.html"/>

<%block name="title">
    ${_('%s File Diff') % c.repo_name}
</%block>

<%def name="breadcrumbs_links()">
    ${_('File diff')} ${h.show_id(c.changeset_1)} &rarr; ${h.show_id(c.changeset_2)}
</%def>

<%block name="header_menu">
    ${self.menu('repositories')}
</%block>

<%def name="main()">
${self.repo_context_bar('changelog')}
<div class="panel panel-primary">
    <div class="panel-heading clearfix">
        ${self.breadcrumbs()}
    </div>
    <div class="panel-body">
    ## diff block
    <%namespace name="diff_block" file="/changeset/diff_block.html"/>
    ${diff_block.diff_block_js()}
    ${diff_block.diff_block(c.repo_name, 'rev', c.a_rev, c.a_rev,
                            c.repo_name, 'rev', c.cs_rev, c.cs_rev, c.file_diff_data)}
    </div>
</div>
</%def>
