Files
@ 0cef54d34605
Branch filter:
Location: kallithea/rhodecode/templates/files/file_diff.html - annotation
0cef54d34605
1.2 KiB
text/html
Pass in old groups data to CanWriteToGroup validator for later skipping group checks.
This will be a part of refactoring done to do user permissions changes without messing with main
repo form data
This will be a part of refactoring done to do user permissions changes without messing with main
repo form data
1e757ac98988 1e757ac98988 1e757ac98988 76d156bef5a2 1e757ac98988 a1ec653f5f95 1e757ac98988 79818f546538 1e757ac98988 1e757ac98988 1e757ac98988 ffd07396d315 1e757ac98988 1e757ac98988 1e757ac98988 f91d3f9b7230 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 17caf4efe15c f91d3f9b7230 17caf4efe15c f91d3f9b7230 1e757ac98988 f91d3f9b7230 17caf4efe15c 17caf4efe15c f91d3f9b7230 17caf4efe15c 17caf4efe15c f91d3f9b7230 17caf4efe15c 17caf4efe15c 17caf4efe15c 17caf4efe15c 17caf4efe15c 17caf4efe15c 17caf4efe15c 17caf4efe15c 17caf4efe15c 17caf4efe15c 17caf4efe15c f91d3f9b7230 | <%inherit file="/base/base.html"/>
<%def name="title()">
${_('%s File diff') % c.repo_name} - ${c.rhodecode_name}
</%def>
<%def name="breadcrumbs_links()">
${h.link_to(_(u'Home'),h.url('/'))}
»
${h.link_to(c.repo_name,h.url('summary_home',repo_name=c.repo_name))}
»
${_('File diff')} r${c.changeset_1.revision}:${h.short_id(c.changeset_1.raw_id)} → r${c.changeset_2.revision}:${h.short_id(c.changeset_2.raw_id)}
</%def>
<%def name="page_nav()">
${self.menu('files')}
</%def>
<%def name="main()">
<div class="box">
<!-- box / title -->
<div class="title">
${self.breadcrumbs()}
</div>
<div>
## diff block
<%namespace name="diff_block" file="/changeset/diff_block.html"/>
${diff_block.diff_block(c.changes)}
</div>
</div>
<script>
YUE.onDOMReady(function(){
YUE.on(YUQ('.diff-menu-activate'),'click',function(e){
var act = e.currentTarget.nextElementSibling;
if(YUD.hasClass(act,'active')){
YUD.removeClass(act,'active');
YUD.setStyle(act,'display','none');
}else{
YUD.addClass(act,'active');
YUD.setStyle(act,'display','');
}
});
})
</script>
</%def>
|