Mercurial > kallithea
changeset 7285:5fc420b5c49c
admin: hooks: move informative span to 'custom hooks'
Explaining what hooks are is mostly useful on the 'custom hooks' section, as
the built-in hooks are read-only.
author | Thomas De Schampheleire <thomas.de_schampheleire@nokia.com> |
---|---|
date | Mon, 21 May 2018 14:26:06 +0200 |
parents | 8e5450cd4686 |
children | 99f7ec293293 |
files | kallithea/templates/admin/settings/settings_hooks.html |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/templates/admin/settings/settings_hooks.html Sun May 20 22:51:13 2018 +0200 +++ b/kallithea/templates/admin/settings/settings_hooks.html Mon May 21 14:26:06 2018 +0200 @@ -8,7 +8,6 @@ ${h.text(hook.ui_key,hook.ui_value,id=input_id,size=60,readonly="readonly",class_='form-control')} </div> % endfor - <span class="help-block">${_('Hooks can be used to trigger actions on certain events such as push / pull. They can trigger Python functions or external applications.')}</span> </div> </div> @@ -16,6 +15,7 @@ ${h.form(url('admin_settings_hooks'), method='post')} <div class="form"> <h4>${_('Custom Hooks')}</h4> + <span class="help-block">${_('Hooks can be used to trigger actions on certain events such as push / pull. They can trigger Python functions or external applications.')}</span> %for hook in c.custom_hooks: <div class="form-group form-inline" id="${'id%s' % hook.ui_id }"> <% input_id = hook.ui_key.replace('.', '_') %>