##// END OF EJS Templates
some small changes to commit activity graph
some small changes to commit activity graph

File last commit:

r387:2a18192f default
r390:6a506a7a default
Show More
file_diff.html
48 lines | 1.4 KiB | text/html | HtmlLexer
implemented simple diffs for history of files.
r129 <%inherit file="/base/base.html"/>
<%def name="title()">
${_('Repository managment')}
</%def>
version bump to 0.8...
r362 <%def name="breadcrumbs_links()">
implemented simple diffs for history of files.
r129 ${h.link_to(u'Home',h.url('/'))}
version bump to 0.8...
r362 &raquo;
${h.link_to(c.repo_name,h.url('summary_home',repo_name=c.repo_name))}
&raquo;
${'%s: %s %s %s' % (_('File diff'),c.diff2,'&rarr;',c.diff1)|n}
implemented simple diffs for history of files.
r129 </%def>
version bump to 0.8...
r362
implemented simple diffs for history of files.
r129 <%def name="page_nav()">
removed search field from templates
r189 ${self.menu('files')}
implemented simple diffs for history of files.
r129 </%def>
<%def name="main()">
version bump to 0.8...
r362 <div class="box">
<!-- box / title -->
<div class="title">
${self.breadcrumbs()}
</div>
<div class="table">
<div id="body" class="diffblock">
<div class="code-header">
<div>
<span>${h.link_to(c.f_path,h.url('files_home',repo_name=c.repo_name,
revision=c.diff2.split(':')[1],f_path=c.f_path))}</span>
templating updates (font sizes)
r387 &raquo; <span>${h.link_to(_('diff'),
version bump to 0.8...
r362 h.url.current(diff2=c.diff2.split(':')[-1],diff1=c.diff1.split(':')[-1],diff='diff'))}</span>
templating updates (font sizes)
r387 &raquo; <span>${h.link_to(_('raw diff'),
version bump to 0.8...
r362 h.url.current(diff2=c.diff2.split(':')[-1],diff1=c.diff1.split(':')[-1],diff='raw'))}</span>
templating updates (font sizes)
r387 &raquo; <span>${h.link_to(_('download diff'),
version bump to 0.8...
r362 h.url.current(diff2=c.diff2.split(':')[-1],diff1=c.diff1.split(':')[-1],diff='download'))}</span>
</div>
</div>
<div class="code-body">
%if c.no_changes:
${_('No changes')}
%else:
${c.cur_diff|n}
%endif
</div>
</div>
</div>
</div>
</%def>