Skip to content

Commit 7aaf423

Browse files
committed
make fmt
1 parent 7472329 commit 7aaf423

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

routers/web/user/setting/contributor_agreements.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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.
8989
func 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)

templates/admin/signed_contributor_agreements/batch_sign.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
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>

templates/admin/signed_contributor_agreements/list.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
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>

0 commit comments

Comments
 (0)