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>
|
<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>
|
<input id="payload_url" name="payload_url" type="url" value="{{.Webhook.URL}}" autofocus required>
|
||||||
</div>
|
</div>
|
||||||
{{template "repo/settings/webhook/settings" .}}
|
{{template "webhook/shared-settings" .}}
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -13,5 +13,5 @@
|
||||||
<label for="icon_url">{{ctx.Locale.Tr "repo.settings.discord_icon_url"}}</label>
|
<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">
|
<input id="icon_url" name="icon_url" value="{{.HookMetadata.IconURL}}" placeholder="https://example.com/assets/img/logo.svg">
|
||||||
</div>
|
</div>
|
||||||
{{template "repo/settings/webhook/settings" .}}
|
{{template "webhook/shared-settings" .}}
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -6,5 +6,5 @@
|
||||||
<label for="payload_url">{{ctx.Locale.Tr "repo.settings.payload_url"}}</label>
|
<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>
|
<input id="payload_url" name="payload_url" type="url" value="{{.Webhook.URL}}" autofocus required>
|
||||||
</div>
|
</div>
|
||||||
{{template "repo/settings/webhook/settings" .}}
|
{{template "webhook/shared-settings" .}}
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -34,5 +34,5 @@
|
||||||
<label for="secret">{{ctx.Locale.Tr "repo.settings.secret"}}</label>
|
<label for="secret">{{ctx.Locale.Tr "repo.settings.secret"}}</label>
|
||||||
<input id="secret" name="secret" type="password" value="{{.Webhook.Secret}}" autocomplete="off">
|
<input id="secret" name="secret" type="password" value="{{.Webhook.Secret}}" autocomplete="off">
|
||||||
</div>
|
</div>
|
||||||
{{template "repo/settings/webhook/settings" .}}
|
{{template "webhook/shared-settings" .}}
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -34,5 +34,5 @@
|
||||||
<label for="secret">{{ctx.Locale.Tr "repo.settings.secret"}}</label>
|
<label for="secret">{{ctx.Locale.Tr "repo.settings.secret"}}</label>
|
||||||
<input id="secret" name="secret" type="password" value="{{.Webhook.Secret}}" autocomplete="off">
|
<input id="secret" name="secret" type="password" value="{{.Webhook.Secret}}" autocomplete="off">
|
||||||
</div>
|
</div>
|
||||||
{{template "repo/settings/webhook/settings" .}}
|
{{template "webhook/shared-settings" .}}
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -22,5 +22,5 @@
|
||||||
<label for="secret">{{ctx.Locale.Tr "repo.settings.secret"}}</label>
|
<label for="secret">{{ctx.Locale.Tr "repo.settings.secret"}}</label>
|
||||||
<input id="secret" name="secret" type="password" value="{{.Webhook.Secret}}" autocomplete="off">
|
<input id="secret" name="secret" type="password" value="{{.Webhook.Secret}}" autocomplete="off">
|
||||||
</div>
|
</div>
|
||||||
{{template "repo/settings/webhook/settings" .}}
|
{{template "webhook/shared-settings" .}}
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -21,5 +21,5 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{template "repo/settings/webhook/settings" .}}
|
{{template "webhook/shared-settings" .}}
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -5,5 +5,5 @@
|
||||||
<label for="payload_url">{{ctx.Locale.Tr "repo.settings.payload_url"}}</label>
|
<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>
|
<input id="payload_url" name="payload_url" type="url" value="{{.Webhook.URL}}" autofocus required>
|
||||||
</div>
|
</div>
|
||||||
{{template "repo/settings/webhook/settings" .}}
|
{{template "webhook/shared-settings" .}}
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -13,5 +13,5 @@
|
||||||
<label for="package_url">{{ctx.Locale.Tr "repo.settings.packagist_package_url"}}</label>
|
<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>
|
<input id="package_url" name="package_url" value="{{.HookMetadata.PackageURL}}" placeholder="https://packagist.org/packages/laravel/framework" required>
|
||||||
</div>
|
</div>
|
||||||
{{template "repo/settings/webhook/settings" .}}
|
{{template "webhook/shared-settings" .}}
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -22,5 +22,5 @@
|
||||||
<label for="color">{{ctx.Locale.Tr "repo.settings.slack_color"}}</label>
|
<label for="color">{{ctx.Locale.Tr "repo.settings.slack_color"}}</label>
|
||||||
<input id="color" name="color" value="{{.HookMetadata.Color}}" placeholder="#dd4b39, good, warning, danger">
|
<input id="color" name="color" value="{{.HookMetadata.Color}}" placeholder="#dd4b39, good, warning, danger">
|
||||||
</div>
|
</div>
|
||||||
{{template "repo/settings/webhook/settings" .}}
|
{{template "webhook/shared-settings" .}}
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -29,5 +29,5 @@
|
||||||
<span class="help">{{ctx.Locale.Tr "repo.settings.sourcehut_builds.secrets_helper"}}</span>
|
<span class="help">{{ctx.Locale.Tr "repo.settings.sourcehut_builds.secrets_helper"}}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{template "repo/settings/webhook/settings" .}}
|
{{template "webhook/shared-settings" .}}
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -13,5 +13,5 @@
|
||||||
<label for="thread_id">{{ctx.Locale.Tr "repo.settings.thread_id"}}</label>
|
<label for="thread_id">{{ctx.Locale.Tr "repo.settings.thread_id"}}</label>
|
||||||
<input id="thread_id" name="thread_id" type="text" value="{{.HookMetadata.ThreadID}}">
|
<input id="thread_id" name="thread_id" type="text" value="{{.HookMetadata.ThreadID}}">
|
||||||
</div>
|
</div>
|
||||||
{{template "repo/settings/webhook/settings" .}}
|
{{template "webhook/shared-settings" .}}
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -5,5 +5,5 @@
|
||||||
<label for="payload_url">{{ctx.Locale.Tr "repo.settings.payload_url"}}</label>
|
<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>
|
<input id="payload_url" name="payload_url" type="url" value="{{.Webhook.URL}}" autofocus required>
|
||||||
</div>
|
</div>
|
||||||
{{template "repo/settings/webhook/settings" .}}
|
{{template "webhook/shared-settings" .}}
|
||||||
</form>
|
</form>
|
||||||
|
|
Loading…
Reference in a new issue