mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-25 08:59:31 -05:00
move webhook/settings file around
This commit is contained in:
parent
7d0ea92da4
commit
6227422c4d
14 changed files with 13 additions and 13 deletions
|
@ -5,5 +5,5 @@
|
|||
<label for="payload_url">{{ctx.Locale.Tr "repo.settings.payload_url"}}</label>
|
||||
<input id="payload_url" name="payload_url" type="url" value="{{.Webhook.URL}}" autofocus required>
|
||||
</div>
|
||||
{{template "repo/settings/webhook/settings" .}}
|
||||
{{template "webhook/shared-settings" .}}
|
||||
</form>
|
||||
|
|
|
@ -13,5 +13,5 @@
|
|||
<label for="icon_url">{{ctx.Locale.Tr "repo.settings.discord_icon_url"}}</label>
|
||||
<input id="icon_url" name="icon_url" value="{{.HookMetadata.IconURL}}" placeholder="https://example.com/assets/img/logo.svg">
|
||||
</div>
|
||||
{{template "repo/settings/webhook/settings" .}}
|
||||
{{template "webhook/shared-settings" .}}
|
||||
</form>
|
||||
|
|
|
@ -6,5 +6,5 @@
|
|||
<label for="payload_url">{{ctx.Locale.Tr "repo.settings.payload_url"}}</label>
|
||||
<input id="payload_url" name="payload_url" type="url" value="{{.Webhook.URL}}" autofocus required>
|
||||
</div>
|
||||
{{template "repo/settings/webhook/settings" .}}
|
||||
{{template "webhook/shared-settings" .}}
|
||||
</form>
|
||||
|
|
|
@ -34,5 +34,5 @@
|
|||
<label for="secret">{{ctx.Locale.Tr "repo.settings.secret"}}</label>
|
||||
<input id="secret" name="secret" type="password" value="{{.Webhook.Secret}}" autocomplete="off">
|
||||
</div>
|
||||
{{template "repo/settings/webhook/settings" .}}
|
||||
{{template "webhook/shared-settings" .}}
|
||||
</form>
|
||||
|
|
|
@ -34,5 +34,5 @@
|
|||
<label for="secret">{{ctx.Locale.Tr "repo.settings.secret"}}</label>
|
||||
<input id="secret" name="secret" type="password" value="{{.Webhook.Secret}}" autocomplete="off">
|
||||
</div>
|
||||
{{template "repo/settings/webhook/settings" .}}
|
||||
{{template "webhook/shared-settings" .}}
|
||||
</form>
|
||||
|
|
|
@ -22,5 +22,5 @@
|
|||
<label for="secret">{{ctx.Locale.Tr "repo.settings.secret"}}</label>
|
||||
<input id="secret" name="secret" type="password" value="{{.Webhook.Secret}}" autocomplete="off">
|
||||
</div>
|
||||
{{template "repo/settings/webhook/settings" .}}
|
||||
{{template "webhook/shared-settings" .}}
|
||||
</form>
|
||||
|
|
|
@ -21,5 +21,5 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{template "repo/settings/webhook/settings" .}}
|
||||
{{template "webhook/shared-settings" .}}
|
||||
</form>
|
||||
|
|
|
@ -5,5 +5,5 @@
|
|||
<label for="payload_url">{{ctx.Locale.Tr "repo.settings.payload_url"}}</label>
|
||||
<input id="payload_url" name="payload_url" type="url" value="{{.Webhook.URL}}" autofocus required>
|
||||
</div>
|
||||
{{template "repo/settings/webhook/settings" .}}
|
||||
{{template "webhook/shared-settings" .}}
|
||||
</form>
|
||||
|
|
|
@ -13,5 +13,5 @@
|
|||
<label for="package_url">{{ctx.Locale.Tr "repo.settings.packagist_package_url"}}</label>
|
||||
<input id="package_url" name="package_url" value="{{.HookMetadata.PackageURL}}" placeholder="https://packagist.org/packages/laravel/framework" required>
|
||||
</div>
|
||||
{{template "repo/settings/webhook/settings" .}}
|
||||
{{template "webhook/shared-settings" .}}
|
||||
</form>
|
||||
|
|
|
@ -22,5 +22,5 @@
|
|||
<label for="color">{{ctx.Locale.Tr "repo.settings.slack_color"}}</label>
|
||||
<input id="color" name="color" value="{{.HookMetadata.Color}}" placeholder="#dd4b39, good, warning, danger">
|
||||
</div>
|
||||
{{template "repo/settings/webhook/settings" .}}
|
||||
{{template "webhook/shared-settings" .}}
|
||||
</form>
|
||||
|
|
|
@ -29,5 +29,5 @@
|
|||
<span class="help">{{ctx.Locale.Tr "repo.settings.sourcehut_builds.secrets_helper"}}</span>
|
||||
</div>
|
||||
</div>
|
||||
{{template "repo/settings/webhook/settings" .}}
|
||||
{{template "webhook/shared-settings" .}}
|
||||
</form>
|
||||
|
|
|
@ -13,5 +13,5 @@
|
|||
<label for="thread_id">{{ctx.Locale.Tr "repo.settings.thread_id"}}</label>
|
||||
<input id="thread_id" name="thread_id" type="text" value="{{.HookMetadata.ThreadID}}">
|
||||
</div>
|
||||
{{template "repo/settings/webhook/settings" .}}
|
||||
{{template "webhook/shared-settings" .}}
|
||||
</form>
|
||||
|
|
|
@ -5,5 +5,5 @@
|
|||
<label for="payload_url">{{ctx.Locale.Tr "repo.settings.payload_url"}}</label>
|
||||
<input id="payload_url" name="payload_url" type="url" value="{{.Webhook.URL}}" autofocus required>
|
||||
</div>
|
||||
{{template "repo/settings/webhook/settings" .}}
|
||||
{{template "webhook/shared-settings" .}}
|
||||
</form>
|
||||
|
|
Loading…
Reference in a new issue