diff --git a/app/assets/javascripts/admin/templates/badges-show.hbs b/app/assets/javascripts/admin/templates/badges-show.hbs index 044bc36ca97..eaaa9fcde18 100644 --- a/app/assets/javascripts/admin/templates/badges-show.hbs +++ b/app/assets/javascripts/admin/templates/badges-show.hbs @@ -39,7 +39,7 @@ content=badgeGroupings class="badge-selector" nameProperty="name"}} - + diff --git a/app/assets/javascripts/admin/templates/components/admin-editable-field.hbs b/app/assets/javascripts/admin/templates/components/admin-editable-field.hbs index 8ffa93b9faa..354707edb5d 100644 --- a/app/assets/javascripts/admin/templates/components/admin-editable-field.hbs +++ b/app/assets/javascripts/admin/templates/components/admin-editable-field.hbs @@ -11,6 +11,6 @@ {{d-button class="btn-default" action=(action "save") label="admin.user_fields.save"}} {{i18n 'cancel'}} {{else}} - {{d-button class="btn-default" action=(action "edit") icon="pencil"}} + {{d-button class="btn-default" action=(action "edit") icon="pencil-alt"}} {{/if}} diff --git a/app/assets/javascripts/admin/templates/components/admin-user-field-item.hbs b/app/assets/javascripts/admin/templates/components/admin-user-field-item.hbs index 46c6ac46ae6..fef8cb074d2 100644 --- a/app/assets/javascripts/admin/templates/components/admin-user-field-item.hbs +++ b/app/assets/javascripts/admin/templates/components/admin-user-field-item.hbs @@ -46,9 +46,9 @@
{{fieldName}}
- {{d-button action=(action "edit") class="btn-default" icon="pencil" label="admin.user_fields.edit"}} + {{d-button action=(action "edit") class="btn-default" icon="pencil-alt" label="admin.user_fields.edit"}} - {{d-button action=destroyAction actionParam=userField class="btn-danger" icon="trash-o" label="admin.user_fields.delete"}} + {{d-button action=destroyAction actionParam=userField class="btn-danger" icon="far-trash-alt" label="admin.user_fields.delete"}} {{d-button action=moveUpAction actionParam=userField class="btn-default" icon="arrow-up" disabled=cantMoveUp}} {{d-button action=moveDownAction actionParam=userField class="btn-default" icon="arrow-down" disabled=cantMoveDown}}
diff --git a/app/assets/javascripts/admin/templates/components/embeddable-host.hbs b/app/assets/javascripts/admin/templates/components/embeddable-host.hbs index 0c5acf83225..559544abcef 100644 --- a/app/assets/javascripts/admin/templates/components/embeddable-host.hbs +++ b/app/assets/javascripts/admin/templates/components/embeddable-host.hbs @@ -25,7 +25,7 @@
{{i18n "admin.embedding.path_whitelist"}}
{{host.path_whitelist}}
{{i18n "admin.embedding.category"}}
{{category-badge host.category}} - {{d-button icon="pencil" action=(action "edit")}} - {{d-button icon="trash-o" action=(action "delete") class='btn-danger'}} + {{d-button icon="pencil-alt" action=(action "edit")}} + {{d-button icon="far-trash-alt" action=(action "delete") class='btn-danger'}} {{/if}} diff --git a/app/assets/javascripts/admin/templates/components/flagged-post.hbs b/app/assets/javascripts/admin/templates/components/flagged-post.hbs index 98d0120bd6e..6d96983b2d6 100644 --- a/app/assets/javascripts/admin/templates/components/flagged-post.hbs +++ b/app/assets/javascripts/admin/templates/components/flagged-post.hbs @@ -7,7 +7,7 @@ {{/link-to}} {{#if flaggedPost.wasEdited}}
- {{d-icon "pencil" title="admin.flags.was_edited"}} + {{d-icon "pencil-alt" title="admin.flags.was_edited"}}
{{/if}} {{/if}} diff --git a/app/assets/javascripts/admin/templates/components/site-setting.hbs b/app/assets/javascripts/admin/templates/components/site-setting.hbs index 03f6342cdab..50fb7d413e4 100644 --- a/app/assets/javascripts/admin/templates/components/site-setting.hbs +++ b/app/assets/javascripts/admin/templates/components/site-setting.hbs @@ -11,7 +11,7 @@ {{else if setting.overridden}} {{#if setting.secret}} - {{d-button action=(action "toggleSecret") icon="eye-slash"}} + {{d-button action=(action "toggleSecret") icon="far-eye-slash"}} {{/if}} {{d-button class="btn-default undo" action=(action "resetDefault") icon="undo" label="admin.settings.reset"}} {{/if}} diff --git a/app/assets/javascripts/admin/templates/customize-colors-show.hbs b/app/assets/javascripts/admin/templates/customize-colors-show.hbs index 90e984ffeea..fd44f997f6a 100644 --- a/app/assets/javascripts/admin/templates/customize-colors-show.hbs +++ b/app/assets/javascripts/admin/templates/customize-colors-show.hbs @@ -11,7 +11,7 @@ {{i18n "admin.customize.theme_owner"}} {{#link-to "adminCustomizeThemes.show" model.theme_id}}{{model.theme_name}}{{/link-to}} {{else}} - + {{/if}} {{model.savingStatus}} diff --git a/app/assets/javascripts/admin/templates/customize-themes-show.hbs b/app/assets/javascripts/admin/templates/customize-themes-show.hbs index fd47daf70d3..4fc19567623 100644 --- a/app/assets/javascripts/admin/templates/customize-themes-show.hbs +++ b/app/assets/javascripts/admin/templates/customize-themes-show.hbs @@ -5,7 +5,7 @@ {{d-button action=(action "finishedEditingName") class="btn-primary submit-edit" icon="check"}} {{d-button action=(action "cancelEditingName") class="btn-default cancel-edit" icon="times"}} {{else}} - {{model.name}} {{d-icon "pencil"}} + {{model.name}} {{d-icon "pencil-alt"}} {{/if}} @@ -178,5 +178,5 @@ {{d-icon "download"}} {{i18n 'admin.export_json.button_text'}} {{d-button action=(action "switchType") label="admin.customize.theme.convert" icon=convertIcon class="btn-default btn-normal" title=convertTooltip}} - {{d-button action=(action "destroy") label="admin.customize.delete" icon="trash" class="btn-danger"}} + {{d-button action=(action "destroy") label="admin.customize.delete" icon="trash-alt" class="btn-danger"}} diff --git a/app/assets/javascripts/admin/templates/emojis.hbs b/app/assets/javascripts/admin/templates/emojis.hbs index 479b7421d67..f677287654d 100644 --- a/app/assets/javascripts/admin/templates/emojis.hbs +++ b/app/assets/javascripts/admin/templates/emojis.hbs @@ -20,7 +20,7 @@ :{{e.name}}: - + {{/each}} diff --git a/app/assets/javascripts/admin/templates/logs/screened-ip-addresses.hbs b/app/assets/javascripts/admin/templates/logs/screened-ip-addresses.hbs index 68a7bbc5687..4e1def35b39 100644 --- a/app/assets/javascripts/admin/templates/logs/screened-ip-addresses.hbs +++ b/app/assets/javascripts/admin/templates/logs/screened-ip-addresses.hbs @@ -1,7 +1,7 @@

{{i18n 'admin.logs.screened_ips.description'}}

-
+
{{text-field value=filter class="ip-address-input" placeholderKey="admin.logs.screened_ips.form.filter" autocorrect="off" autocapitalize="off"}} {{d-button class="btn-default" action=(action "rollUp") title="admin.logs.screened_ips.roll_up.title" label="admin.logs.screened_ips.roll_up.text"}} {{d-button class="btn-default" action=(action "exportScreenedIpList") icon="download" title="admin.export_csv.button_title.screened_ip" label="admin.export_csv.button_text"}} @@ -52,13 +52,13 @@ {{#if item.last_match_at}} -
{{i18n 'admin.logs.last_match_at'}} {{age-with-tooltip item.last_match_at}}
+
{{i18n 'admin.logs.last_match_at'}} {{age-with-tooltip item.last_match_at}}
{{/if}} {{#unless item.editing}} - {{d-button class="btn-default" action=(action "destroy") actionParam=item icon="trash-o" class="btn-danger"}} - {{d-button class="btn-default"action=(action "edit") actionParam=item icon="pencil"}} + {{d-button class="btn-default" action=(action "destroy") actionParam=item icon="far-trash-alt" class="btn-danger"}} + {{d-button class="btn-default"action=(action "edit") actionParam=item icon="pencil-alt"}} {{#if item.isBlocked}} {{d-button class="btn-default" action=(action "allow") actionParam=item icon="check" label="admin.logs.screened_ips.actions.do_nothing"}} {{else}} diff --git a/app/assets/javascripts/admin/templates/logs/staff-action-logs.hbs b/app/assets/javascripts/admin/templates/logs/staff-action-logs.hbs index 822dfce0a70..dc7438e1ec7 100644 --- a/app/assets/javascripts/admin/templates/logs/staff-action-logs.hbs +++ b/app/assets/javascripts/admin/templates/logs/staff-action-logs.hbs @@ -62,7 +62,7 @@ {{item.acting_user.username}} {{else}} - {{d-icon "trash-o"}} + {{d-icon "far-trash-alt"}} {{/if}}
diff --git a/app/assets/javascripts/admin/templates/modal/admin-edit-badge-groupings.hbs b/app/assets/javascripts/admin/templates/modal/admin-edit-badge-groupings.hbs index 958467e6b73..279a805cbc2 100644 --- a/app/assets/javascripts/admin/templates/modal/admin-edit-badge-groupings.hbs +++ b/app/assets/javascripts/admin/templates/modal/admin-edit-badge-groupings.hbs @@ -12,7 +12,7 @@ {{/if}}
- + diff --git a/app/assets/javascripts/admin/templates/permalinks.hbs b/app/assets/javascripts/admin/templates/permalinks.hbs index 75d3d6edced..19ab2413f39 100644 --- a/app/assets/javascripts/admin/templates/permalinks.hbs +++ b/app/assets/javascripts/admin/templates/permalinks.hbs @@ -42,7 +42,7 @@ {{/if}} - {{d-button action=(action "destroy") actionParam=pl icon="trash-o" class="btn-danger"}} + {{d-button action=(action "destroy") actionParam=pl icon="far-trash-alt" class="btn-danger"}} {{/each}} diff --git a/app/assets/javascripts/admin/templates/plugins-index.hbs b/app/assets/javascripts/admin/templates/plugins-index.hbs index 873053a6e2a..cf2be40ee47 100644 --- a/app/assets/javascripts/admin/templates/plugins-index.hbs +++ b/app/assets/javascripts/admin/templates/plugins-index.hbs @@ -49,7 +49,7 @@ {{#if currentUser.admin}} {{#if plugin.enabled_setting}} - {{d-button class="btn-default" action=(route-action "showSettings") actionParam=plugin icon="gear" label="admin.plugins.change_settings_short"}} + {{d-button class="btn-default" action=(route-action "showSettings") actionParam=plugin icon="cog" label="admin.plugins.change_settings_short"}} {{/if}} {{/if}} diff --git a/app/assets/javascripts/admin/templates/plugins.hbs b/app/assets/javascripts/admin/templates/plugins.hbs index b2e0d775480..9b41e0976de 100644 --- a/app/assets/javascripts/admin/templates/plugins.hbs +++ b/app/assets/javascripts/admin/templates/plugins.hbs @@ -5,7 +5,7 @@ {{#if currentUser.admin}} {{d-button label="admin.plugins.change_settings" - icon="gear" + icon="cog" class="btn-default settings-button" action=(route-action "showSettings")}} {{/if}} diff --git a/app/assets/javascripts/admin/templates/user-index.hbs b/app/assets/javascripts/admin/templates/user-index.hbs index b780ec84aa1..4c7dc5453f6 100644 --- a/app/assets/javascripts/admin/templates/user-index.hbs +++ b/app/assets/javascripts/admin/templates/user-index.hbs @@ -259,10 +259,10 @@
{{i18n-yes-no model.admin}}
{{#if model.can_revoke_admin}} - {{d-button class="btn-default" action=(action "revokeAdmin") icon="shield" label="admin.user.revoke_admin"}} + {{d-button class="btn-default" action=(action "revokeAdmin") icon="shield-alt" label="admin.user.revoke_admin"}} {{/if}} {{#if model.can_grant_admin}} - {{d-button class="btn-default" action=(action "grantAdmin") icon="shield" label="admin.user.grant_admin"}} + {{d-button class="btn-default" action=(action "grantAdmin") icon="shield-alt" label="admin.user.grant_admin"}} {{/if}}
@@ -272,10 +272,10 @@
{{i18n-yes-no model.moderator}}
{{#if model.can_revoke_moderation}} - {{d-button class="btn-default" action=(action "revokeModeration") icon="shield" label="admin.user.revoke_moderation"}} + {{d-button class="btn-default" action=(action "revokeModeration") icon="shield-alt" label="admin.user.revoke_moderation"}} {{/if}} {{#if model.can_grant_moderation}} - {{d-button class="btn-default" action=(action "grantModeration") icon="shield" label="admin.user.grant_moderation"}} + {{d-button class="btn-default" action=(action "grantModeration") icon="shield-alt" label="admin.user.grant_moderation"}} {{/if}}
@@ -480,7 +480,7 @@
{{#if model.can_delete_all_posts}} {{#if model.post_count}} - {{d-button class="btn-danger" action=(action "deleteAllPosts") icon="trash-o" label="admin.user.delete_all_posts"}} + {{d-button class="btn-danger" action=(action "deleteAllPosts") icon="far-trash-alt" label="admin.user.delete_all_posts"}} {{/if}} {{else}} {{deleteAllPostsExplanation}} diff --git a/app/assets/javascripts/discourse/components/auth-token-dropdown.es6 b/app/assets/javascripts/discourse/components/auth-token-dropdown.es6 index 2dceb6e59cc..8b3630b7dc5 100644 --- a/app/assets/javascripts/discourse/components/auth-token-dropdown.es6 +++ b/app/assets/javascripts/discourse/components/auth-token-dropdown.es6 @@ -16,7 +16,7 @@ export default DropdownSelectBoxComponent.extend({ }, { id: "logOut", - icon: "sign-out", + icon: "sign-out-alt", name: I18n.t("user.log_out"), description: "" } diff --git a/app/assets/javascripts/discourse/components/composer-editor.js.es6 b/app/assets/javascripts/discourse/components/composer-editor.js.es6 index 341f0380295..fe0a627a1b6 100644 --- a/app/assets/javascripts/discourse/components/composer-editor.js.es6 +++ b/app/assets/javascripts/discourse/components/composer-editor.js.es6 @@ -835,7 +835,7 @@ export default Ember.Component.extend({ toolbar.addButton({ id: "options", group: "extras", - icon: "gear", + icon: "cog", title: "composer.options", sendAction: this.onExpandPopupMenuOptions.bind(this), popupMenu: true diff --git a/app/assets/javascripts/discourse/components/group-member-dropdown.js.es6 b/app/assets/javascripts/discourse/components/group-member-dropdown.js.es6 index 5e7ea9ec533..4b3c16f8b49 100644 --- a/app/assets/javascripts/discourse/components/group-member-dropdown.js.es6 +++ b/app/assets/javascripts/discourse/components/group-member-dropdown.js.es6 @@ -32,7 +32,7 @@ export default DropdownSelectBoxComponent.extend({ description: I18n.t("groups.members.remove_owner_description", { username: this.get("member.username") }), - icon: "shield" + icon: "shield-alt" }); } else { items.push({ @@ -41,7 +41,7 @@ export default DropdownSelectBoxComponent.extend({ description: I18n.t("groups.members.make_owner_description", { username: this.get("member.username") }), - icon: "shield" + icon: "shield-alt" }); } } diff --git a/app/assets/javascripts/discourse/components/topic-timer-info.js.es6 b/app/assets/javascripts/discourse/components/topic-timer-info.js.es6 index 8fcb580dadd..30a93295a0e 100644 --- a/app/assets/javascripts/discourse/components/topic-timer-info.js.es6 +++ b/app/assets/javascripts/discourse/components/topic-timer-info.js.es6 @@ -41,7 +41,7 @@ export default Ember.Component.extend( let autoCloseHours = this.get("duration") || 0; - buffer.push(`

${iconHTML("clock-o")} `); + buffer.push(`

${iconHTML("far-clock")} `); let options = { timeLeft: duration.humanize(true), diff --git a/app/assets/javascripts/discourse/controllers/composer.js.es6 b/app/assets/javascripts/discourse/controllers/composer.js.es6 index 131bd6d3019..6760e0279b7 100644 --- a/app/assets/javascripts/discourse/controllers/composer.js.es6 +++ b/app/assets/javascripts/discourse/controllers/composer.js.es6 @@ -222,7 +222,7 @@ export default Ember.Controller.extend({ @computed("model.action", "isWhispering") saveIcon(action, isWhispering) { if (isWhispering) { - return "eye-slash"; + return "far-eye-slash"; } return SAVE_ICONS[action]; }, @@ -267,7 +267,7 @@ export default Ember.Controller.extend({ this._setupPopupMenuOption(() => { return { action: "toggleInvisible", - icon: "eye-slash", + icon: "far-eye-slash", label: "composer.toggle_unlisted", condition: "canUnlistTopic" }; @@ -278,7 +278,7 @@ export default Ember.Controller.extend({ this._setupPopupMenuOption(() => { return { action: "toggleWhisper", - icon: "eye-slash", + icon: "far-eye-slash", label: "composer.toggle_whisper", condition: "showWhisperToggle" }; diff --git a/app/assets/javascripts/discourse/controllers/topic-bulk-actions.js.es6 b/app/assets/javascripts/discourse/controllers/topic-bulk-actions.js.es6 index 8703739cdbd..89badf83965 100644 --- a/app/assets/javascripts/discourse/controllers/topic-bulk-actions.js.es6 +++ b/app/assets/javascripts/discourse/controllers/topic-bulk-actions.js.es6 @@ -22,7 +22,7 @@ function addBulkButton(action, key, opts) { // Default buttons addBulkButton("showChangeCategory", "change_category", { - icon: "pencil", + icon: "pencil-alt", class: "btn-default" }); addBulkButton("closeTopics", "close_topics", { @@ -42,12 +42,12 @@ addBulkButton("resetRead", "reset_read", { class: "btn-default" }); addBulkButton("unlistTopics", "unlist_topics", { - icon: "eye-slash", + icon: "far-eye-slash", class: "btn-default", buttonVisible: topics => topics.some(t => t.visible) }); addBulkButton("relistTopics", "relist_topics", { - icon: "eye", + icon: "far-eye", class: "btn-default", buttonVisible: topics => topics.some(t => !t.visible) }); diff --git a/app/assets/javascripts/discourse/helpers/user-status.js.es6 b/app/assets/javascripts/discourse/helpers/user-status.js.es6 index c8500888f4d..b3706ca4e27 100644 --- a/app/assets/javascripts/discourse/helpers/user-status.js.es6 +++ b/app/assets/javascripts/discourse/helpers/user-status.js.es6 @@ -14,10 +14,12 @@ export default htmlHelper((user, args) => { } if (currentUser && user.get("admin") && currentUser.get("staff")) { - return iconHTML("shield", { label: I18n.t("user.admin", { user: name }) }); + return iconHTML("shield-alt", { + label: I18n.t("user.admin", { user: name }) + }); } if (user.get("moderator")) { - return iconHTML("shield", { + return iconHTML("shield-alt", { label: I18n.t("user.moderator", { user: name }) }); } diff --git a/app/assets/javascripts/discourse/lib/plugin-api.js.es6 b/app/assets/javascripts/discourse/lib/plugin-api.js.es6 index ecaff63a638..f237987af84 100644 --- a/app/assets/javascripts/discourse/lib/plugin-api.js.es6 +++ b/app/assets/javascripts/discourse/lib/plugin-api.js.es6 @@ -369,7 +369,7 @@ class PluginApi { * api.addToolbarPopupMenuOptionsCallback(() => { * return { * action: 'toggleWhisper', - * icon: 'eye-slash', + * icon: 'far-eye-slash', * label: 'composer.toggle_whisper', * condition: "canWhisper" * }; diff --git a/app/assets/javascripts/discourse/lib/utilities.js.es6 b/app/assets/javascripts/discourse/lib/utilities.js.es6 index cb87d2639ed..e71223f337d 100644 --- a/app/assets/javascripts/discourse/lib/utilities.js.es6 +++ b/app/assets/javascripts/discourse/lib/utilities.js.es6 @@ -415,7 +415,7 @@ export function allowsAttachments() { } export function uploadIcon() { - return allowsAttachments() ? "upload" : "picture-o"; + return allowsAttachments() ? "upload" : "far-image"; } export function uploadLocation(url) { diff --git a/app/assets/javascripts/discourse/models/user-action.js.es6 b/app/assets/javascripts/discourse/models/user-action.js.es6 index 4bb710d6630..8f2d6986a01 100644 --- a/app/assets/javascripts/discourse/models/user-action.js.es6 +++ b/app/assets/javascripts/discourse/models/user-action.js.es6 @@ -141,7 +141,7 @@ const UserAction = RestModel.extend({ groups = { likes: UserActionGroup.create({ icon: "heart" }), stars: UserActionGroup.create({ icon: "star" }), - edits: UserActionGroup.create({ icon: "pencil" }), + edits: UserActionGroup.create({ icon: "pencil-alt" }), bookmarks: UserActionGroup.create({ icon: "bookmark" }) }; } diff --git a/app/assets/javascripts/discourse/templates/badges/show.hbs b/app/assets/javascripts/discourse/templates/badges/show.hbs index a7078f10ca1..933bc48de8e 100644 --- a/app/assets/javascripts/discourse/templates/badges/show.hbs +++ b/app/assets/javascripts/discourse/templates/badges/show.hbs @@ -15,7 +15,7 @@ {{d-button class="btn btn-default pad-left no-text" action=(action "toggleSetUserTitle") - icon="pencil"}} + icon="pencil-alt"}}

{{/if}} {{#if model.multiple_grant}} diff --git a/app/assets/javascripts/discourse/templates/components/activation-controls.hbs b/app/assets/javascripts/discourse/templates/components/activation-controls.hbs index 0b94c0ef944..a311180f53c 100644 --- a/app/assets/javascripts/discourse/templates/components/activation-controls.hbs +++ b/app/assets/javascripts/discourse/templates/components/activation-controls.hbs @@ -7,5 +7,5 @@ {{d-button action=editActivationEmail label="login.change_email" - icon="pencil" + icon="pencil-alt" class="edit-email"}} diff --git a/app/assets/javascripts/discourse/templates/components/avatar-uploader.hbs b/app/assets/javascripts/discourse/templates/components/avatar-uploader.hbs index f6b2102c92a..e980fc50629 100644 --- a/app/assets/javascripts/discourse/templates/components/avatar-uploader.hbs +++ b/app/assets/javascripts/discourse/templates/components/avatar-uploader.hbs @@ -1,5 +1,5 @@ {{#if uploading}} diff --git a/app/assets/javascripts/discourse/templates/components/composer-action-title.hbs b/app/assets/javascripts/discourse/templates/components/composer-action-title.hbs index 71368b2713f..8f010be7cec 100644 --- a/app/assets/javascripts/discourse/templates/components/composer-action-title.hbs +++ b/app/assets/javascripts/discourse/templates/components/composer-action-title.hbs @@ -1,5 +1,5 @@ {{#if isEditing}} - {{d-icon "pencil"}} + {{d-icon "pencil-alt"}} {{else}} {{composer-actions composerModel=model diff --git a/app/assets/javascripts/discourse/templates/components/edit-category-general.hbs b/app/assets/javascripts/discourse/templates/components/edit-category-general.hbs index c9f50287bce..1c01b53db7f 100644 --- a/app/assets/javascripts/discourse/templates/components/edit-category-general.hbs +++ b/app/assets/javascripts/discourse/templates/components/edit-category-general.hbs @@ -31,7 +31,7 @@ {{/if}} {{#if category.topic_url}}
- {{d-button class="btn-default" action=(action "showCategoryTopic") icon="pencil" label="category.change_in_category_topic"}} + {{d-button class="btn-default" action=(action "showCategoryTopic") icon="pencil-alt" label="category.change_in_category_topic"}} {{/if}} {{/if}} @@ -56,7 +56,7 @@ #{{text-field value=category.text_color placeholderKey="category.color_placeholder" maxlength="6"}} {{color-picker colors=foregroundColors value=category.text_color id='edit-text-color'}} - + {{/unless}} diff --git a/app/assets/javascripts/discourse/templates/components/future-date-input.hbs b/app/assets/javascripts/discourse/templates/components/future-date-input.hbs index e7d1cea3b54..645fbc4f6bc 100644 --- a/app/assets/javascripts/discourse/templates/components/future-date-input.hbs +++ b/app/assets/javascripts/discourse/templates/components/future-date-input.hbs @@ -14,11 +14,11 @@ {{#if isCustom}}
- {{d-icon "calendar"}} {{date-picker-future value=date defaultDate=date}} + {{d-icon "calendar-alt"}} {{date-picker-future value=date defaultDate=date}}
- {{d-icon "clock-o"}} + {{d-icon "far-clock"}} {{input type="time" value=time}}
{{/if}} diff --git a/app/assets/javascripts/discourse/templates/components/image-uploader.hbs b/app/assets/javascripts/discourse/templates/components/image-uploader.hbs index 977b4c67319..13db8aa1001 100644 --- a/app/assets/javascripts/discourse/templates/components/image-uploader.hbs +++ b/app/assets/javascripts/discourse/templates/components/image-uploader.hbs @@ -1,11 +1,11 @@
{{#if hasBackgroundStyle}} - + {{/if}} {{i18n 'upload_selector.uploading'}} {{uploadProgress}}%
diff --git a/app/assets/javascripts/discourse/templates/components/images-uploader.hbs b/app/assets/javascripts/discourse/templates/components/images-uploader.hbs index 6c53367c14b..9553785082d 100644 --- a/app/assets/javascripts/discourse/templates/components/images-uploader.hbs +++ b/app/assets/javascripts/discourse/templates/components/images-uploader.hbs @@ -1,5 +1,5 @@ {{#if uploading}} diff --git a/app/assets/javascripts/discourse/templates/components/queued-post.hbs b/app/assets/javascripts/discourse/templates/components/queued-post.hbs index 285337ea4b8..f8a73cd8f98 100644 --- a/app/assets/javascripts/discourse/templates/components/queued-post.hbs +++ b/app/assets/javascripts/discourse/templates/components/queued-post.hbs @@ -81,13 +81,13 @@ {{d-button action=(action "deleteUser") disabled=post.isSaving label="queue.delete_user" - icon="trash" + icon="trash-alt" class="btn-danger delete-user"}} {{/if}} {{d-button action=(action "edit") disabled=post.isSaving label="queue.edit" - icon="pencil" + icon="pencil-alt" class="edit"}} {{/if}}
diff --git a/app/assets/javascripts/discourse/templates/components/share-popup.hbs b/app/assets/javascripts/discourse/templates/components/share-popup.hbs index eb8aa968f85..6b4adbe0ca5 100644 --- a/app/assets/javascripts/discourse/templates/components/share-popup.hbs +++ b/app/assets/javascripts/discourse/templates/components/share-popup.hbs @@ -24,5 +24,5 @@ {{/if}} diff --git a/app/assets/javascripts/discourse/templates/components/topic-footer-buttons.hbs b/app/assets/javascripts/discourse/templates/components/topic-footer-buttons.hbs index b909adde57b..05289b21d4c 100644 --- a/app/assets/javascripts/discourse/templates/components/topic-footer-buttons.hbs +++ b/app/assets/javascripts/discourse/templates/components/topic-footer-buttons.hbs @@ -64,7 +64,7 @@ {{d-button class="btn-default edit-message" title="topic.edit_message.help" label="topic.edit_message.title" - icon="pencil" + icon="pencil-alt" action=editFirstPost}} {{/if}} diff --git a/app/assets/javascripts/discourse/templates/components/user-stream-item.hbs b/app/assets/javascripts/discourse/templates/components/user-stream-item.hbs index 56c082a0d60..b8c69759bed 100644 --- a/app/assets/javascripts/discourse/templates/components/user-stream-item.hbs +++ b/app/assets/javascripts/discourse/templates/components/user-stream-item.hbs @@ -22,7 +22,7 @@ {{#if item.deleted_by}} - {{d-icon "trash-o"}} + {{d-icon "far-trash-alt"}} {{avatar item.deleted_by imageSize="tiny" extraClasses="actor" ignoreTitle="true"}} {{format-date item.deleted_at leaveAgo="true"}} @@ -61,7 +61,7 @@ {{#if item.editableDraft}}
- {{d-button action=resumeDraft actionParam=item icon="pencil" label='drafts.resume' class="btn-default resume-draft"}} - {{d-button action=removeDraft actionParam=item icon="trash-o" label='drafts.remove' class="btn-default remove-draft"}} + {{d-button action=resumeDraft actionParam=item icon="pencil-alt" label='drafts.resume' class="btn-default resume-draft"}} + {{d-button action=removeDraft actionParam=item icon="far-trash-alt" label='drafts.remove' class="btn-default remove-draft"}}
{{/if}} diff --git a/app/assets/javascripts/discourse/templates/composer.hbs b/app/assets/javascripts/discourse/templates/composer.hbs index c991f58c214..8f1cc2150ab 100644 --- a/app/assets/javascripts/discourse/templates/composer.hbs +++ b/app/assets/javascripts/discourse/templates/composer.hbs @@ -26,7 +26,7 @@ {{#unless site.mobileView}} {{#if isWhispering}} - {{d-icon 'eye-slash'}} + {{d-icon "far-eye-slash"}} {{/if}} {{#if model.unlistTopic}} ({{i18n 'composer.unlist'}}) @@ -128,7 +128,7 @@ {{#if canEdit}} {{d-icon "times"}} {{else}} - {{d-icon "trash-o"}} + {{d-icon "far-trash-alt"}} {{/if}} {{else}} @@ -140,7 +140,7 @@ {{#if site.mobileView}} {{#if whisperOrUnlistTopic}} - {{d-icon "eye-slash"}} + {{d-icon "far-eye-slash"}} {{/if}} {{#if model.noBump}} diff --git a/app/assets/javascripts/discourse/templates/composer/custom-body.hbs b/app/assets/javascripts/discourse/templates/composer/custom-body.hbs index 60493d75265..e37bdb2aa0c 100644 --- a/app/assets/javascripts/discourse/templates/composer/custom-body.hbs +++ b/app/assets/javascripts/discourse/templates/composer/custom-body.hbs @@ -1,3 +1,3 @@ -{{d-icon "close"}} +{{d-icon "times"}} {{#if message.title}}

{{message.title}}

{{/if}}

{{{message.body}}}

diff --git a/app/assets/javascripts/discourse/templates/composer/group-mentioned.hbs b/app/assets/javascripts/discourse/templates/composer/group-mentioned.hbs index a91a313e0f8..c2d574cb690 100644 --- a/app/assets/javascripts/discourse/templates/composer/group-mentioned.hbs +++ b/app/assets/javascripts/discourse/templates/composer/group-mentioned.hbs @@ -1,2 +1,2 @@ -{{d-icon "close"}} +{{d-icon "times"}} {{{message.body}}} diff --git a/app/assets/javascripts/discourse/templates/composer/similar-topics.hbs b/app/assets/javascripts/discourse/templates/composer/similar-topics.hbs index bdd2cd5a3f2..6972b13d07f 100644 --- a/app/assets/javascripts/discourse/templates/composer/similar-topics.hbs +++ b/app/assets/javascripts/discourse/templates/composer/similar-topics.hbs @@ -1,4 +1,4 @@ -{{d-icon "close"}} +{{d-icon "times"}}

{{i18n 'composer.similar_topics'}}