File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
templates/admin/signed_contributor_agreements Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -88,10 +88,10 @@ func SignContributorAgreement(ctx *gitea_context.Context) {
8888// rerunFailedActions looks for recent cla.yml failures triggered by the user and reruns those.
8989func rerunFailedActions (ctx * gitea_context.Context , user * user_model.User ) error {
9090 runs , err := db .Find [actions_model.ActionRun ](ctx , actions_model.FindRunOptions {
91- ListOptions : db.ListOptions {PageSize : 10 },
92- Status : []actions_model.Status {actions_model .StatusFailure },
91+ ListOptions : db.ListOptions {PageSize : 10 },
92+ Status : []actions_model.Status {actions_model .StatusFailure },
9393 TriggerUserID : user .ID ,
94- WorkflowID : "cla.yml" ,
94+ WorkflowID : "cla.yml" ,
9595 })
9696 if err != nil {
9797 return fmt .Errorf ("failed to find failed action runs: %w" , err )
Original file line number Diff line number Diff line change 1515 <select name="contributor_agreement_id" required>
1616 <option value="">--</option>
1717 {{range .ContributorAgreements}}
18- <option value="{{.ID}}" {{if eq .ID $.ContributorAgreementID }}selected{{end}}>{{.Slug}}</option>
18+ <option value="{{.ID}}" {{if eq .ID $.ContributorAgreementID}}selected{{end}}>{{.Slug}}</option>
1919 {{end}}
2020 </select>
2121 </label>
Original file line number Diff line number Diff line change 2020 <select name="contributor_agreement_id">
2121 <option value="">{{ctx.Locale.Tr "admin.signed_contributor_agreements.all_option"}}</option>
2222 {{range .ContributorAgreements}}
23- <option value="{{.ID}}" {{if eq .ID $.ContributorAgreementID }}selected{{end}}>{{.Slug}}</option>
23+ <option value="{{.ID}}" {{if eq .ID $.ContributorAgreementID}}selected{{end}}>{{.Slug}}</option>
2424 {{end}}
2525 </select>
2626 </label>
You can’t perform that action at this time.
0 commit comments