##// END OF EJS Templates
repo-commits: ported changeset code into pyramid views....
repo-commits: ported changeset code into pyramid views. - refactored part of naming to use commit_id instead of revision - renamed some parts to repo_commits instead of changeset without breaking backward compat - small improvements and fixes for tests

File last commit:

r1910:45702bf2 default
r1951:965019b0 default
Show More
repo_edit_statistics.mako
22 lines | 926 B | application/x-mako | MakoHtmlLexer
/ rhodecode / templates / admin / repos / repo_edit_statistics.mako
templating: use .mako as extensions for template files.
r1282 <div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">${_('Repository statistics')}</h3>
</div>
<div class="panel-body">
pyramid: stop relying on global mako url() function....
r1910 ${h.secure_form(h.url('edit_repo_statistics', repo_name=c.repo_info.repo_name), method='put')}
templating: use .mako as extensions for template files.
r1282 <div class="form">
<div class="fields">
<div class="field" >
<dl class="dl-horizontal settings">
<dt>${_('Processed commits')}:</dt><dd>${c.stats_revision}/${c.repo_last_rev}</dd>
<dt>${_('Processed progress')}:</dt><dd>${c.stats_percentage}%</dd>
</dl>
</div>
${h.submit('reset_stats_%s' % c.repo_info.repo_name,_('Reset statistics'),class_="btn btn-small",onclick="return confirm('"+_('Confirm to remove current statistics')+"');")}
</div>
</div>
${h.end_form()}
</div>
</div>