Started implementation of setting
Signed-off-by: Konrad <konrad@kola-entertainments.de>
This commit is contained in:
parent
916d7f01e0
commit
96f5d6b292
|
|
@ -107,6 +107,7 @@ type RepoSettingForm struct {
|
|||
EnableIssueDependencies bool
|
||||
EnableTimetracker bool
|
||||
AllowOnlyContributorsToTrackTime bool
|
||||
EnableIssueDependencies bool
|
||||
}
|
||||
|
||||
// Validate validates the fields
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ import (
|
|||
"code.gitea.io/gitea/modules/context"
|
||||
"code.gitea.io/gitea/modules/log"
|
||||
"code.gitea.io/gitea/modules/setting"
|
||||
"fmt"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
|||
|
|
@ -155,8 +155,8 @@
|
|||
</div>
|
||||
<div class="field">
|
||||
<div class="ui checkbox">
|
||||
<input name="enable_issue_dependencies" type="checkbox" {{if (.Repository.UnitEnabled $.UnitTypeIssueDependencies)}}checked{{end}}>
|
||||
<label>{{.i18n.Tr "repo.settings.setting"}}</label>
|
||||
<input name="enable_issue_dependencies" type="checkbox">
|
||||
<label>Issues can have dependencies</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="field">
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user