Skip to content

Commit 800232b

Browse files
committed
more updates on templates
Some gt-* classes were replaced by the crossponding tw-* classes.
1 parent 0304324 commit 800232b

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

templates/repo/issue/new_form.tmpl

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,13 @@
5353
<div class="ui {{if not .Reviewers}}disabled{{end}} floating jump select-reviewers dropdown">
5454
<span class="text flex-text-block">
5555
<strong>{{ctx.Locale.Tr "repo.issues.review.reviewers"}}</strong>
56-
{{svg "octicon-gear" 16 "gt-ml-2"}}
56+
{{if .HasIssuesOrPullsWritePermission}}
57+
{{svg "octicon-gear" 16 "tw-ml-1"}}
58+
{{end}}
5759
</span>
5860
<div class="filter menu" data-id="#reviewer_ids">
5961
<div class="ui icon search input">
60-
<i class="icon gt-df gt-ac gt-jc">{{svg "octicon-search" 16}}</i>
62+
<i class="icon">{{svg "octicon-search" 16}}</i>
6163
<input type="text" placeholder="{{ctx.Locale.Tr "repo.issues.filter_reviewers"}}">
6264
</div>
6365
<div class="no-select item">{{ctx.Locale.Tr "repo.issues.new.clear_reviewers"}}</div>
@@ -75,9 +77,9 @@
7577
{{range .Reviewers}}
7678
{{if .Team}}
7779
<a class="item muted" data-id="{{.ItemID}}" data-id-selector="#reviewer_{{.ItemID}}">
78-
<span class="octicon-check gt-invisible">{{svg "octicon-check" 16}}</span>
80+
<span class="octicon-check tw-invisible">{{svg "octicon-check" 16}}</span>
7981
<span class="text">
80-
{{svg "octicon-people" 16 "gt-ml-4 gt-mr-2"}}{{$.Repository.OwnerName}}/{{.Team.Name}}
82+
{{svg "octicon-people" 16 "tw-ml-4 tw-mr-1"}}{{$.Repository.OwnerName}}/{{.Team.Name}}
8183
</span>
8284
</a>
8385
{{end}}
@@ -96,7 +98,7 @@
9698
</a>
9799
{{else if .Team}}
98100
<a class="item tw-p-1 muted tw-hidden" id="reviewer_{{.ItemID}}" href="{{.Team.Name}}">
99-
{{ctx.AvatarUtils.Avatar .Team 28 "tw-mr-2 tw-align-middle"}}{{$.Repository.OwnerName}}/{{.Team.Name}}
101+
{{svg "octicon-people" 20 "tw-mr-2"}}{{$.Repository.OwnerName}}/{{.Team.Name}}
100102
</a>
101103
{{end}}
102104
{{end}}

0 commit comments

Comments
 (0)