
This mod introduces DISABLE_WEB_HOOKS parameter in [security] section of app.ini (by default set to false). If set to true it disables web hooks feature. Any existing undelivered web hook tasks will be cancelled. Any existing web hook definitions will be left untouched in db but its delivery tasks will be ignored. Author-Change-Id: IB#1105130
19 lines
734 B
Cheetah
19 lines
734 B
Cheetah
<div class="four wide column">
|
|
<div class="ui vertical menu">
|
|
<div class="header item">{{.i18n.Tr "org.settings"}}</div>
|
|
<a class="{{if .PageIsSettingsOptions}}active{{end}} item" href="{{.OrgLink}}/settings">
|
|
{{.i18n.Tr "org.settings.options"}}
|
|
</a>
|
|
{{if not DisableWebHooks}}
|
|
<a class="{{if .PageIsSettingsHooks}}active{{end}} item" href="{{.OrgLink}}/settings/hooks">
|
|
{{.i18n.Tr "repo.settings.hooks"}}
|
|
</a>
|
|
{{end}}
|
|
<a class="{{if .PageIsOrgSettingsLabels}}active{{end}} item" href="{{.OrgLink}}/settings/labels">
|
|
{{.i18n.Tr "repo.labels"}}
|
|
</a>
|
|
<a class="{{if .PageIsSettingsDelete}}active{{end}} item" href="{{.OrgLink}}/settings/delete">
|
|
{{.i18n.Tr "org.settings.delete"}}
|
|
</a>
|
|
</div>
|
|
</div>
|