Skip to content

Commit 802c531

Browse files
authored
Replace some icons with SVG (#20741)
- Replace some icons with SVG - Create teams help page - Application and SSH keys icons - Add new icon for app token - Use fontawesom-send
1 parent d751e35 commit 802c531

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

public/img/svg/fontawesome-send.svg

+1
Loading

templates/org/team/new.tmpl

+4-6
Original file line numberDiff line numberDiff line change
@@ -76,15 +76,13 @@
7676
<table class="ui celled table">
7777
<thead>
7878
<tr>
79-
<th class="center aligned">{{.locale.Tr "units.unit"}}</th>
79+
<th>{{.locale.Tr "units.unit"}}</th>
8080
<th class="center aligned">{{.locale.Tr "org.teams.none_access"}}
81-
<i class="circle help icon link tooltip" data-content="{{.locale.Tr "org.teams.none_access_helper"}}"></i></th>
81+
<span class="tooltip vm" data-content="{{.locale.Tr "org.teams.none_access_helper"}}">{{svg "octicon-question" 16 "ml-2"}}</th>
8282
<th class="center aligned">{{.locale.Tr "org.teams.read_access"}}
83-
<i class="circle help icon link tooltip" data-content="{{.locale.Tr "org.teams.read_access_helper"}}"></i>
84-
</th>
83+
<span class="tooltip vm" data-content="{{.locale.Tr "org.teams.read_access_helper"}}">{{svg "octicon-question" 16 "ml-2"}}</span></th>
8584
<th class="center aligned">{{.locale.Tr "org.teams.write_access"}}
86-
<i class="circle help icon link tooltip" data-content="{{.locale.Tr "org.teams.write_access_helper"}}"></i>
87-
</th>
85+
<span class="tooltip vm" data-content="{{.locale.Tr "org.teams.write_access_helper"}}">{{svg "octicon-question" 16 "ml-2"}}</span></th>
8886
</tr>
8987
</thead>
9088
<tbody>

templates/user/settings/applications.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
{{$.locale.Tr "settings.delete_token"}}
2020
</button>
2121
</div>
22-
<i class="big send icon tooltip{{if .HasRecentActivity}} green{{end}}" {{if .HasRecentActivity}}data-content="{{$.locale.Tr "settings.token_state_desc"}}"{{end}}></i>
22+
<i class="icon tooltip{{if .HasRecentActivity}} green{{end}}" {{if .HasRecentActivity}}data-content="{{$.locale.Tr "settings.token_state_desc"}}"{{end}}>{{svg "fontawesome-send" 36}}</i>
2323
<div class="content">
2424
<strong>{{.Name}}</strong>
2525
<div class="activity meta">

templates/user/settings/keys_principal.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
{{$.locale.Tr "settings.delete_key"}}
2222
</button>
2323
</div>
24-
<i class="big send icon tooltip{{if .HasRecentActivity}} green{{end}}" {{if .HasRecentActivity}}data-content="{{$.locale.Tr "settings.principal_state_desc"}}"{{end}}></i>
24+
<i class="icon tooltip{{if .HasRecentActivity}} green{{end}}" {{if .HasRecentActivity}}data-content="{{$.locale.Tr "settings.principal_state_desc"}}"{{end}}>{{svg "octicon-key" 36}}</i>
2525
<div class="content">
2626
<strong>{{.Name}}</strong>
2727
<div class="activity meta">

web_src/svg/fontawesome-send.svg

+1
Loading

0 commit comments

Comments
 (0)