mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
new edit webhook UI
This commit is contained in:
@@ -10,15 +10,15 @@
|
||||
{{.i18n.Tr "repo.settings.githooks"}}
|
||||
</h4>
|
||||
<div class="ui attached segment">
|
||||
<p class="center">{{.i18n.Tr "repo.settings.githook_edit_desc"}}</p>
|
||||
<p>{{.i18n.Tr "repo.settings.githook_edit_desc"}}</p>
|
||||
<form class="ui form" action="{{.Link}}" method="post">
|
||||
{{.CsrfTokenHtml}}
|
||||
{{with .Hook}}
|
||||
<div class="inline field">
|
||||
<label>{{$.i18n.Tr "repo.settings.githook_name"}}</label>
|
||||
<label class="text left">{{.Name}}</label>
|
||||
<span>{{.Name}}</span>
|
||||
</div>
|
||||
<div class="inline field">
|
||||
<div class="field">
|
||||
<label for="content">{{$.i18n.Tr "repo.settings.githook_content"}}</label>
|
||||
<textarea id="content" name="content" rows="20" wrap="off">{{if .IsActive}}{{.Content}}{{else}}{{.Sample}}{{end}}</textarea>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user