##// END OF EJS Templates
dashboard: main page grids async load....
dashboard: main page grids async load. - in some cases when super-admins or all repos in root loading main page could take minutes because we loaded whole dataset. - this change make the loading limited to first page of data. Rest is loaded via DB pagination - In many cases this is major speed-up for showing 1st page fast.

File last commit:

r2105:4ad1a937 default
r4148:021b2cd2 default
Show More
repo_edit_statistics.mako
22 lines | 958 B | application/x-mako | MakoHtmlLexer
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">${_('Repository statistics')}</h3>
</div>
<div class="panel-body">
${h.secure_form(h.route_path('edit_repo_statistics_reset', repo_name=c.rhodecode_db_repo.repo_name), request=request)}
<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.rhodecode_db_repo.repo_name,_('Reset statistics'),class_="btn btn-small",onclick="return confirm('"+_('Confirm to remove current statistics')+"');")}
</div>
</div>
${h.end_form()}
</div>
</div>