##// END OF EJS Templates
integrations: use a common logic for parsing the commits branches inside the integrations that require it....
integrations: use a common logic for parsing the commits branches inside the integrations that require it. There was 3 duplicated parts on each integration which now uses a small class with helper to unify the code.

File last commit:

r2351:59272121 default
r2644:97776fe4 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