This commit is contained in:
Zettat123 2024-11-20 16:01:54 +08:00
parent 73b00ea10e
commit 8fcf1b68be
1 changed files with 19 additions and 19 deletions

View File

@ -1,21 +1,21 @@
<div class="repo-setting-content"> <div class="repo-setting-content">
<h4 class="ui top attached header"> <h4 class="ui top attached header">
{{ctx.Locale.Tr "actions.general.settings"}} {{ctx.Locale.Tr "actions.general.settings"}}
</h4> </h4>
<div class="ui attached segment"> <div class="ui attached segment">
<form class="ui form" action="{{.Link}}" method="post"> <form class="ui form" action="{{.Link}}" method="post">
{{.CsrfTokenHtml}} {{.CsrfTokenHtml}}
<div id="actions_accessible_from_other_repositories_box" class="field"> <div id="actions_accessible_from_other_repositories_box" class="field">
<div class="ui checkbox"> <div class="ui checkbox">
<input id="actions_accessible_from_other_repositories" name="actions_accessible_from_other_repositories" type="checkbox" {{if .AccessibleFromOtherRepos}}checked{{end}}> <input id="actions_accessible_from_other_repositories" name="actions_accessible_from_other_repositories" type="checkbox" {{if .AccessibleFromOtherRepos}}checked{{end}}>
<label>{{ctx.Locale.Tr "actions.general.actions_accessible_from_other_repositories" .Owner.Name}}</label> <label>{{ctx.Locale.Tr "actions.general.actions_accessible_from_other_repositories" .Owner.Name}}</label>
<p class="help">{{ctx.Locale.Tr "actions.general.actions_accessible_from_other_repositories_desc" .Owner.Name}}</p> <p class="help">{{ctx.Locale.Tr "actions.general.actions_accessible_from_other_repositories_desc" .Owner.Name}}</p>
</div> </div>
</div> </div>
<div class="divider"></div> <div class="divider"></div>
<div class="field"> <div class="field">
<button class="ui primary button">{{ctx.Locale.Tr "save"}}</button> <button class="ui primary button">{{ctx.Locale.Tr "save"}}</button>
</div> </div>
</form> </form>
</div> </div>
</div> </div>