mirror of https://github.com/go-gitea/gitea
Commit
This commit is contained in:
parent
1e22cc242f
commit
e92bedc81d
|
@ -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
|
||||
|
|
|
@ -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" >
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue