This commit is contained in:
stuzer05 2024-04-13 15:04:15 +03:00
parent 1e22cc242f
commit e92bedc81d
No known key found for this signature in database
GPG Key ID: A6ABAAA9268F9F4F
3 changed files with 2 additions and 11 deletions

View File

@ -110,7 +110,7 @@ func ChangeTimeEstimate(issue *issues_model.Issue, doer *user_model.User, timeEs
issue.TimeEstimate = timeEstimate
if err = issues_model.ChangeIssueTimeEstimate(issue, doer, timeEstimate); err != nil {
return
return err
}
return nil

View File

@ -282,7 +282,7 @@
<div>
<span class="text"><strong>{{ctx.Locale.Tr "repo.issues.time_estimate"}}</strong></span>
<form method="POST" id="set_time_estimate_form" class="gt-mt-3" action="{{.Issue.Link}}/time_estimate">
<form method="post" id="set_time_estimate_form" class="gt-mt-3" action="{{.Issue.Link}}/time_estimate">
{{$.CsrfTokenHtml}}
<div class="ui input fluid">
<input name="time_estimate" placeholder='{{ctx.Locale.Tr "repo.issues.add_time_estimate"}}' value="{{TimeEstimateToStr .Issue.TimeEstimate}}" data-value="{{$.Issue.TimeEstimate}}" type="text" >

View File

@ -20202,10 +20202,6 @@
"type": "string",
"x-go-name": "State"
},
"time_estimate": {
"type": "string",
"x-go-name": "TimeEstimate"
},
"title": {
"type": "string",
"x-go-name": "Title"
@ -21516,11 +21512,6 @@
"state": {
"$ref": "#/definitions/StateType"
},
"time_estimate": {
"type": "integer",
"format": "int64",
"x-go-name": "TimeEstimate"
},
"title": {
"type": "string",
"x-go-name": "Title"