##// END OF EJS Templates
caches: store computation time inside context manager as helper. Since the with block is full...
caches: store computation time inside context manager as helper. Since the with block is full calculation we can use it to calculate the function execution time.

File last commit:

r2351:59272121 default
r2936:776b3361 default
Show More
plugins_base.mako
8 lines | 248 B | application/x-mako | MakoHtmlLexer
% for plugin, config in getattr(request.registry, 'rhodecode_plugins', {}).items():
<% tmpl = config['template_hooks'].get('plugin_init_template') %>
% if tmpl:
<%include file="${tmpl}" args="config=config"/>
% endif
% endfor