Skip to content

Commit bb3ffad

Browse files
authored
Merge branch 'main' into main
2 parents 4188181 + dd0caf7 commit bb3ffad

File tree

19 files changed

+35
-41
lines changed

19 files changed

+35
-41
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ require (
120120
gitlab.com/gitlab-org/api/client-go v0.126.0
121121
golang.org/x/crypto v0.36.0
122122
golang.org/x/image v0.25.0
123-
golang.org/x/net v0.37.0
123+
golang.org/x/net v0.38.0
124124
golang.org/x/oauth2 v0.28.0
125125
golang.org/x/sync v0.12.0
126126
golang.org/x/sys v0.31.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -875,8 +875,8 @@ golang.org/x/net v0.15.0/go.mod h1:idbUs1IY1+zTqbi8yxTbhexhEEk5ur9LInksu6HrEpk=
875875
golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44=
876876
golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM=
877877
golang.org/x/net v0.33.0/go.mod h1:HXLR5J+9DxmrqMwG9qjGCxZ+zKXxBru04zlTvWlWuN4=
878-
golang.org/x/net v0.37.0 h1:1zLorHbz+LYj7MQlSf1+2tPIIgibq2eL5xkrGk6f+2c=
879-
golang.org/x/net v0.37.0/go.mod h1:ivrbrMbzFq5J41QOQh0siUuly180yBYtLp+CKbEaFx8=
878+
golang.org/x/net v0.38.0 h1:vRMAPTMaeGqVhG5QyLJHqNDwecKTomGeqbnfZyKlBI8=
879+
golang.org/x/net v0.38.0/go.mod h1:ivrbrMbzFq5J41QOQh0siUuly180yBYtLp+CKbEaFx8=
880880
golang.org/x/oauth2 v0.28.0 h1:CrgCKl8PPAVtLnU3c+EDw6x11699EWlsDeWNWKdIOkc=
881881
golang.org/x/oauth2 v0.28.0/go.mod h1:onh5ek6nERTohokkhCD/y2cV4Do3fxFHFuAejCkRWT8=
882882
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=

templates/org/team/teams.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<div class="ui container">
55
{{template "base/alert" .}}
66
{{if .IsOrganizationOwner}}
7-
<div class="tw-text-right">
7+
<div class="flex-text-block tw-justify-end">
88
<a class="ui primary button" href="{{.OrgLink}}/teams/new">{{svg "octicon-plus"}} {{ctx.Locale.Tr "org.create_new_team"}}</a>
99
</div>
1010
<div class="divider"></div>

templates/projects/list.tmpl

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{if and $.CanWriteProjects (not $.Repository.IsArchived)}}
2-
<div class="tw-flex tw-justify-between tw-mb-4">
2+
<div class="flex-text-block tw-justify-between tw-mb-4">
33
<div class="small-menu-items ui compact tiny menu list-header-toggle">
44
<a class="item{{if not .IsShowClosed}} active{{end}}" href="?state=open&q={{$.Keyword}}">
55
{{svg "octicon-project-symlink" 16 "tw-mr-2"}}
@@ -10,9 +10,7 @@
1010
{{ctx.Locale.PrettyNumber .ClosedCount}}&nbsp;{{ctx.Locale.Tr "repo.issues.closed_title"}}
1111
</a>
1212
</div>
13-
<div class="tw-text-right">
14-
<a class="ui small primary button" href="{{$.Link}}/new">{{ctx.Locale.Tr "repo.projects.new"}}</a>
15-
</div>
13+
<a class="ui small primary button" href="{{$.Link}}/new">{{ctx.Locale.Tr "repo.projects.new"}}</a>
1614
</div>
1715
{{end}}
1816

templates/projects/new.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
</div>
6565
</div>
6666
<div class="divider"></div>
67-
<div class="tw-text-right">
67+
<div class="flex-text-block tw-justify-end">
6868
<a class="ui cancel button" href="{{$.CancelLink}}">
6969
{{ctx.Locale.Tr "repo.milestones.cancel"}}
7070
</a>

templates/repo/diff/box.tmpl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,19 +223,21 @@
223223
{{if and (not $.Repository.IsArchived) (not .DiffNotAvailable)}}
224224
<template id="issue-comment-editor-template">
225225
<form class="ui form comment">
226+
<div class="field">
226227
{{template "shared/combomarkdowneditor" (dict
227228
"CustomInit" true
228229
"MarkdownPreviewInRepo" $.Repository
229230
"MarkdownPreviewMode" "comment"
230231
"TextareaName" "content"
231232
"DropzoneParentContainer" ".ui.form"
232233
)}}
234+
</div>
233235
{{if .IsAttachmentEnabled}}
234236
<div class="field">
235237
{{template "repo/upload" .}}
236238
</div>
237239
{{end}}
238-
<div class="tw-text-right edit buttons">
240+
<div class="field flex-text-block tw-justify-end">
239241
<button class="ui cancel button">{{ctx.Locale.Tr "repo.issues.cancel"}}</button>
240242
<button class="ui primary button">{{ctx.Locale.Tr "repo.issues.save"}}</button>
241243
</div>

templates/repo/diff/comment_form.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
{{end}}
2828

2929
<div class="field footer">
30-
<div class="tw-text-right">
30+
<div class="flex-text-block tw-justify-end">
3131
{{if $.reply}}
3232
<button class="ui submit primary tiny button btn-reply" type="submit">{{ctx.Locale.Tr "repo.diff.comment.reply"}}</button>
3333
<input type="hidden" name="reply" value="{{$.reply}}">

templates/repo/issue/milestone_issues.tmpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
{{template "repo/header" .}}
44
<div class="ui container">
55
{{template "base/alert" .}}
6-
<div class="tw-flex">
7-
<h1 class="tw-mb-2">{{.Milestone.Name}}</h1>
6+
<div class="flex-text-block tw-flex-wrap tw-mb-2">
7+
<h1 class="tw-flex-1 tw-m-0">{{.Milestone.Name}}</h1>
88
{{if not .Repository.IsArchived}}
9-
<div class="tw-text-right tw-flex-1">
9+
<div>
1010
{{if or .CanWriteIssues .CanWritePulls}}
1111
{{if .Milestone.IsClosed}}
1212
<a class="ui primary basic button link-action" href data-url="{{$.RepoLink}}/milestones/{{.MilestoneID}}/open">{{ctx.Locale.Tr "repo.milestones.open"}}

templates/repo/issue/milestone_new.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"TextareaPlaceholder" (ctx.Locale.Tr "repo.milestones.desc")
4545
)}}
4646
</div>
47-
<div class="tw-text-right">
47+
<div class="flex-text-block tw-justify-end">
4848
{{if .PageIsEditMilestone}}
4949
<a class="ui primary basic button" href="{{.RepoLink}}/milestones">
5050
{{ctx.Locale.Tr "repo.milestones.cancel"}}

templates/repo/issue/new_form.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
{{else}}
3434
{{template "repo/issue/comment_tab" .}}
3535
{{end}}
36-
<div class="tw-text-right">
36+
<div class="flex-text-block tw-justify-end">
3737
<button class="ui primary button">
3838
{{if .PageIsComparePull}}
3939
{{ctx.Locale.Tr "repo.pulls.create"}}

0 commit comments

Comments
 (0)