Skip to content

Commit 34a2cf5

Browse files
authored
Replace a few fontawesome icons with svg (#23602)
Replaced a few icons with SVG. The only ones left are some in actions (idk why new code introduces legacy icons) and a few dropdown icons.
1 parent 45aa4ea commit 34a2cf5

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

templates/org/team/repositories.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777

7878
<div class="ui small basic addall modal">
7979
<div class="ui icon header">
80-
<i class="globe icon"></i>
80+
{{svg "octicon-globe"}}
8181
{{.locale.Tr "org.teams.add_all_repos_title"}}
8282
</div>
8383
<div class="content">

templates/repo/editor/edit.tmpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,19 +58,19 @@
5858

5959
<div class="ui small basic modal" id="edit-empty-content-modal">
6060
<div class="ui icon header">
61-
<i class="file icon"></i>
61+
{{svg "octicon-file"}}
6262
{{.locale.Tr "repo.editor.commit_empty_file_header"}}
6363
</div>
6464
<div class="center content">
6565
<p>{{.locale.Tr "repo.editor.commit_empty_file_text"}}</p>
6666
</div>
6767
<div class="actions">
6868
<button class="ui red basic cancel inverted button">
69-
<i class="remove icon"></i>
69+
{{svg "octicon-x"}}
7070
{{.locale.Tr "repo.editor.cancel"}}
7171
</button>
7272
<button class="ui green basic ok inverted button">
73-
<i class="save icon"></i>
73+
{{svg "fontawesome-save"}}
7474
{{.locale.Tr "repo.editor.commit_changes"}}
7575
</button>
7676
</div>

templates/repo/editor/patch.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
<div class="ui small basic modal" id="edit-empty-content-modal">
4040
<div class="ui icon header">
41-
<i class="file icon"></i>
41+
{{svg "octicon-file"}}
4242
{{.locale.Tr "repo.editor.commit_empty_file_header"}}
4343
</div>
4444
<div class="center content">

templates/user/auth/webauthn.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
{{.locale.Tr "twofa"}}
77
</h3>
88
<div class="ui attached segment">
9-
<i class="huge key icon"></i>
9+
{{svg "octicon-key" 56}}
1010
<h3>{{.locale.Tr "webauthn_insert_key"}}</h3>
1111
{{template "base/alert" .}}
1212
<p>{{.locale.Tr "webauthn_sign_in"}}</p>

0 commit comments

Comments
 (0)