diff --git a/rhodecode/lib/vcs/backends/base.py b/rhodecode/lib/vcs/backends/base.py --- a/rhodecode/lib/vcs/backends/base.py +++ b/rhodecode/lib/vcs/backends/base.py @@ -779,6 +779,9 @@ class BaseRepository(object): def install_hooks(self, force=False): return self._remote.install_hooks(force) + def get_hooks_info(self): + return self._remote.get_hooks_info() + class BaseCommit(object): """ diff --git a/rhodecode/templates/admin/repos/repo_edit_advanced.mako b/rhodecode/templates/admin/repos/repo_edit_advanced.mako --- a/rhodecode/templates/admin/repos/repo_edit_advanced.mako +++ b/rhodecode/templates/admin/repos/repo_edit_advanced.mako @@ -113,6 +113,37 @@ +
${_('Hook type')} | +${_('Hook version')} | +${_('Current version')} | + +
---|---|---|
${_('PRE HOOK')} | +${ver_info_dict['pre_version']} | +${c.rhodecode_version} | +
${_('POST HOOK')} | +${ver_info_dict['post_version']} | +${c.rhodecode_version} | +