mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 17:40:43 +08:00
DEV: remap all core icons for fontawesome 6 upgrade (#28715)
Followup to 7d8974d02f7360b324b446868463e950fe92883f Co-authored-by: David Taylor <david@taylorhq.com>
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
<StyleguideExample @title=".btn-icon - sizes (large, default, small)">
|
||||
{{#each @dummy.buttonSizes as |bs|}}
|
||||
<DButton
|
||||
@icon="times"
|
||||
@icon="xmark"
|
||||
@translatedTitle={{bs.text}}
|
||||
@disabled={{bs.disabled}}
|
||||
class={{bs.class}}
|
||||
@ -12,7 +12,7 @@
|
||||
<StyleguideExample @title=".btn-icon - states">
|
||||
{{#each @dummy.buttonStates as |bs|}}
|
||||
<DButton
|
||||
@icon="times"
|
||||
@icon="xmark"
|
||||
@translatedTitle={{bs.text}}
|
||||
@disabled={{bs.disabled}}
|
||||
class={{bs.class}}
|
||||
@ -93,7 +93,7 @@
|
||||
>
|
||||
{{#each @dummy.buttonSizes as |bs|}}
|
||||
<DButton
|
||||
@icon="trash-alt"
|
||||
@icon="trash-can"
|
||||
@translatedLabel={{bs.text}}
|
||||
@disabled={{bs.disabled}}
|
||||
class={{concat-class "btn-danger" bs.class}}
|
||||
@ -104,7 +104,7 @@
|
||||
<StyleguideExample @title=".btn-danger .btn-icon-text - states">
|
||||
{{#each @dummy.buttonStates as |bs|}}
|
||||
<DButton
|
||||
@icon="trash-alt"
|
||||
@icon="trash-can"
|
||||
@translatedLabel={{bs.text}}
|
||||
@disabled={{bs.disabled}}
|
||||
class={{concat-class "btn-danger" bs.class}}
|
||||
@ -115,7 +115,7 @@
|
||||
<StyleguideExample @title=".btn-flat - sizes (large, default, small)">
|
||||
{{#each @dummy.buttonSizes as |bs|}}
|
||||
<FlatButton
|
||||
@icon="trash-alt"
|
||||
@icon="trash-can"
|
||||
@disabled={{bs.disabled}}
|
||||
@translatedTitle={{bs.title}}
|
||||
/>
|
||||
@ -125,7 +125,7 @@
|
||||
<StyleguideExample @title=".btn-flat - states">
|
||||
{{#each @dummy.buttonStates as |bs|}}
|
||||
<FlatButton
|
||||
@icon="trash-alt"
|
||||
@icon="trash-can"
|
||||
@disabled={{bs.disabled}}
|
||||
@translatedTitle={{bs.title}}
|
||||
/>
|
||||
|
@ -157,7 +157,7 @@
|
||||
|
||||
<StyleguideExample @title="Alert">
|
||||
<Form as |form|>
|
||||
<form.Alert @icon="pencil-alt">
|
||||
<form.Alert @icon="pencil">
|
||||
You can edit this form.
|
||||
</form.Alert>
|
||||
</Form>
|
||||
|
@ -22,7 +22,7 @@
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" class="btn">
|
||||
{{d-icon "angle-double-down"}}
|
||||
{{d-icon "angles-down"}}
|
||||
{{i18n "user.expand_profile"}}
|
||||
</a>
|
||||
</li>
|
||||
@ -32,7 +32,7 @@
|
||||
<div class="primary-textual">
|
||||
<h1 class="username">
|
||||
{{@dummy.user.username}}
|
||||
{{d-icon "shield-alt"}}
|
||||
{{d-icon "shield-halved"}}
|
||||
</h1>
|
||||
<h2 class="full-name">{{@dummy.user.name}}</h2>
|
||||
<h3>{{@dummy.user.title}}</h3>
|
||||
@ -70,7 +70,7 @@
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" class="btn">
|
||||
{{d-icon "angle-double-down"}}
|
||||
{{d-icon "angles-down"}}
|
||||
{{i18n "user.expand_profile"}}
|
||||
</a>
|
||||
</li>
|
||||
@ -80,7 +80,7 @@
|
||||
<div class="primary-textual">
|
||||
<h1 class="username">
|
||||
{{@dummy.user.username}}
|
||||
{{d-icon "shield-alt"}}
|
||||
{{d-icon "shield-halved"}}
|
||||
</h1>
|
||||
<h2 class="full-name">{{@dummy.user.name}}</h2>
|
||||
<h3>{{@dummy.user.title}}</h3>
|
||||
@ -152,12 +152,12 @@
|
||||
<div class="primary-textual">
|
||||
<h1 class="username">
|
||||
{{@dummy.user.username}}
|
||||
{{d-icon "shield-alt"}}
|
||||
{{d-icon "shield-halved"}}
|
||||
</h1>
|
||||
<h2 class="full-name">{{@dummy.user.name}}</h2>
|
||||
<h3>{{@dummy.user.title}}</h3>
|
||||
<h3>
|
||||
{{d-icon "map-marker-alt"}}
|
||||
{{d-icon "location-dot"}}
|
||||
{{@dummy.user.location}}
|
||||
{{d-icon "globe"}}
|
||||
<a
|
||||
@ -237,7 +237,7 @@
|
||||
{{/each}}
|
||||
</dd>
|
||||
<DButton
|
||||
@icon="exclamation-triangle"
|
||||
@icon="triangle-exclamation"
|
||||
@label="user.admin_delete"
|
||||
class="btn-danger"
|
||||
/>
|
||||
@ -309,12 +309,12 @@
|
||||
<div class="primary-textual">
|
||||
<h1 class="username">
|
||||
{{@dummy.user.username}}
|
||||
{{d-icon "shield-alt"}}
|
||||
{{d-icon "shield-halved"}}
|
||||
</h1>
|
||||
<h2 class="full-name">{{@dummy.user.name}}</h2>
|
||||
<h3>{{@dummy.user.title}}</h3>
|
||||
<h3>
|
||||
{{d-icon "map-marker-alt"}}
|
||||
{{d-icon "location-dot"}}
|
||||
{{@dummy.user.location}}
|
||||
{{d-icon "globe"}}
|
||||
<a
|
||||
@ -392,7 +392,7 @@
|
||||
{{/each}}
|
||||
</dd>
|
||||
<DButton
|
||||
@icon="exclamation-triangle"
|
||||
@icon="triangle-exclamation"
|
||||
@label="user.admin_delete"
|
||||
class="btn-danger"
|
||||
/>
|
||||
|
Reference in New Issue
Block a user