##// END OF EJS Templates
celery: use safe environ extraction. In few cases of executing tasks at non-pyramid level....
celery: use safe environ extraction. In few cases of executing tasks at non-pyramid level. e.g executed from hooks we cannot read environ properly. Without it our bootstrap code will still generate proper urls.

File last commit:

r2333:c9f5d931 default
r2417:51f63062 default
Show More
settings_issuetracker.mako
34 lines | 1.2 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">
admin: ported settings controller to pyramid....
r2333 ${h.secure_form(h.route_path('admin_settings_issuetracker_update'), request=request)}
templating: use .mako as extensions for template files.
r1282 ${its.issue_tracker_settings_table(
patterns=c.issuetracker_entries.items(),
admin: ported settings controller to pyramid....
r2333 form_url=h.route_path('admin_settings_issuetracker'),
delete_url=h.route_path('admin_settings_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()}
admin: ported settings controller to pyramid....
r2333 ${its.issue_tracker_settings_test(test_url=h.route_path('admin_settings_issuetracker_test'))}
templating: use .mako as extensions for template files.
r1282 </div>
</div>