% if c.visual.allow_custom_hooks_settings:
${h.form(url('admin_settings_hooks'), method='post')}
${_('Custom Global Mercurial Hooks')}
${_('Hooks can be used to trigger actions on certain events such as push / pull. They can trigger Python functions or external applications.')}
%for hook in c.custom_hooks:
${h.HTML(_('Kallithea has no support for custom Git hooks. Kallithea will use Git post-receive hooks internally. Installation of these hooks is managed in %s.')) % (h.literal('''%s''') % (h.url('admin_settings_mapping'), _('Remap and Rescan')))}