##// END OF EJS Templates
diffs: use whole chunk diff to calculate if it's oversized or not....
diffs: use whole chunk diff to calculate if it's oversized or not. - This fixes an issue if a file is added that has very large number of small lines. In this case the time to detect if the diff should be limited was very very long and CPU intensive.

File last commit:

r1910:45702bf2 default
r2070:7939c6bf default
Show More
settings_issuetracker.mako
34 lines | 1.1 KiB | application/x-mako | MakoHtmlLexer
/ rhodecode / templates / admin / settings / settings_issuetracker.mako
templating: use .mako as extensions for template files.
r1282 <%namespace name="its" file="/base/issue_tracker_settings.mako"/>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">${_('Issue Tracker / Wiki Patterns')}</h3>
</div>
<div class="panel-body">
pyramid: stop relying on global mako url() function....
r1910 ${h.secure_form(h.url('admin_settings_issuetracker_save'), method='post')}
templating: use .mako as extensions for template files.
r1282 ${its.issue_tracker_settings_table(
patterns=c.issuetracker_entries.items(),
pyramid: stop relying on global mako url() function....
r1910 form_url=h.url('admin_settings_issuetracker'),
delete_url=h.url('admin_issuetracker_delete')
templating: use .mako as extensions for template files.
r1282 )}
<div class="buttons">
<button type="submit" class="btn btn-primary" id="save">${_('Save')}</button>
<button type="reset" class="btn">${_('Reset')}</button>
</div>
${h.end_form()}
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">${_('Test Patterns')}</h3>
</div>
<div class="panel-body">
${its.issue_tracker_new_row()}
pyramid: stop relying on global mako url() function....
r1910 ${its.issue_tracker_settings_test(test_url=h.url('admin_issuetracker_test'))}
templating: use .mako as extensions for template files.
r1282 </div>
</div>