DEV: remap all core icons for fontawesome 6 upgrade (#28715)
Followup to 7d8974d02f
Co-authored-by: David Taylor <david@taylorhq.com>
This commit is contained in:
parent
9afc9a6e28
commit
a914d3230b
|
@ -56,7 +56,7 @@ export default class AdminBackupsActions extends Component {
|
|||
@action={{routeAction "cancelOperation"}}
|
||||
@title="admin.backups.operations.cancel.title"
|
||||
@label="admin.backups.operations.cancel.label"
|
||||
@icon="times"
|
||||
@icon="xmark"
|
||||
class="admin-backups__cancel"
|
||||
/>
|
||||
{{else}}
|
||||
|
@ -74,7 +74,7 @@ export default class AdminBackupsActions extends Component {
|
|||
@action={{routeAction "rollback"}}
|
||||
@label="admin.backups.operations.rollback.label"
|
||||
@title="admin.backups.operations.rollback.title"
|
||||
@icon="ambulance"
|
||||
@icon="truck-medical"
|
||||
@disabled={{this.rollbackDisabled}}
|
||||
class="admin-backups__rollback"
|
||||
/>
|
||||
|
|
|
@ -21,6 +21,6 @@
|
|||
/>
|
||||
<a href {{on "click" this.edit}}>{{i18n "cancel"}}</a>
|
||||
{{else}}
|
||||
<DButton class="btn-default" @action={{this.edit}} @icon="pencil-alt" />
|
||||
<DButton class="btn-default" @action={{this.edit}} @icon="pencil" />
|
||||
{{/if}}
|
||||
</div>
|
|
@ -148,7 +148,7 @@ export default class AdminFlagItem extends Component {
|
|||
<DMenu
|
||||
@identifier="flag-menu"
|
||||
@title={{i18n "admin.config_areas.flags.more_options.title"}}
|
||||
@icon="ellipsis-v"
|
||||
@icon="ellipsis-vertical"
|
||||
@onRegisterApi={{this.onRegisterApi}}
|
||||
>
|
||||
<:content>
|
||||
|
@ -177,7 +177,7 @@ export default class AdminFlagItem extends Component {
|
|||
<dropdown.item>
|
||||
<DButton
|
||||
@label="admin.config_areas.flags.delete"
|
||||
@icon="trash-alt"
|
||||
@icon="trash-can"
|
||||
class="btn-transparent admin-flag-item__delete"
|
||||
@action={{this.delete}}
|
||||
@disabled={{not this.canEdit}}
|
||||
|
|
|
@ -182,7 +182,7 @@ export default class AdminFlagsForm extends Component {
|
|||
</checkboxGroup.Field>
|
||||
</form.CheckboxGroup>
|
||||
|
||||
<form.Alert @icon="info-circle">
|
||||
<form.Alert @icon="circle-info">
|
||||
{{i18n "admin.config_areas.flags.form.alert"}}
|
||||
</form.Alert>
|
||||
|
||||
|
|
|
@ -97,7 +97,7 @@ export default class AdminPluginsListItem extends Component {
|
|||
target="_blank"
|
||||
>
|
||||
{{i18n "admin.plugins.learn_more"}}
|
||||
{{icon "external-link-alt"}}
|
||||
{{icon "up-right-from-square"}}
|
||||
</a>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{{#if this.showBackupStats}}
|
||||
<div class="backups">
|
||||
<h3 class="storage-stats-title">
|
||||
<a href={{get-url "/admin/backups"}}>{{d-icon "archive"}}
|
||||
<a href={{get-url "/admin/backups"}}>{{d-icon "box-archive"}}
|
||||
{{i18n "admin.dashboard.backups"}}</a>
|
||||
</h3>
|
||||
<p>
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
@interactive={{this.model.description_link.length}}
|
||||
>
|
||||
<:trigger>
|
||||
{{d-icon "question-circle"}}
|
||||
{{d-icon "circle-question"}}
|
||||
</:trigger>
|
||||
<:content>
|
||||
{{#if this.model.description_link}}
|
||||
|
@ -78,21 +78,21 @@
|
|||
{{#if this.showError}}
|
||||
{{#if this.showTimeoutError}}
|
||||
<div class="alert alert-error report-alert timeout">
|
||||
{{d-icon "exclamation-triangle"}}
|
||||
{{d-icon "triangle-exclamation"}}
|
||||
<span>{{i18n "admin.dashboard.timeout_error"}}</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{#if this.showExceptionError}}
|
||||
<div class="alert alert-error report-alert exception">
|
||||
{{d-icon "exclamation-triangle"}}
|
||||
{{d-icon "triangle-exclamation"}}
|
||||
<span>{{i18n "admin.dashboard.exception_error"}}</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{#if this.showNotFoundError}}
|
||||
<div class="alert alert-error report-alert not-found">
|
||||
{{d-icon "exclamation-triangle"}}
|
||||
{{d-icon "triangle-exclamation"}}
|
||||
<span>{{i18n "admin.dashboard.not_found_error"}}</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
@ -115,7 +115,7 @@
|
|||
{{else}}
|
||||
{{#if this.rateLimitationString}}
|
||||
<div class="alert alert-error report-alert rate-limited">
|
||||
{{d-icon "thermometer-three-quarters"}}
|
||||
{{d-icon "temperature-three-quarters"}}
|
||||
<span>{{this.rateLimitationString}}</span>
|
||||
</div>
|
||||
{{else}}
|
||||
|
@ -228,7 +228,7 @@
|
|||
<DButton
|
||||
@action={{this.refreshReport}}
|
||||
@label="admin.dashboard.reports.refresh_report"
|
||||
@icon="sync"
|
||||
@icon="arrows-rotate"
|
||||
class="refresh-report-btn btn-primary"
|
||||
/>
|
||||
</div>
|
||||
|
|
|
@ -65,7 +65,7 @@ export default class AdminSiteSettingsFilterControls extends Component {
|
|||
{{#if @showMenu}}
|
||||
<DButton
|
||||
@action={{this.toggleMenu}}
|
||||
@icon={{if this.isMenuOpen "times" "bars"}}
|
||||
@icon={{if this.isMenuOpen "xmark" "bars"}}
|
||||
class="menu-toggle"
|
||||
/>
|
||||
{{/if}}
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
title={{this.field.title}}
|
||||
class={{if target.edited "edited" "blank"}}
|
||||
>
|
||||
{{#if target.error}}{{d-icon "exclamation-triangle"}}{{/if}}
|
||||
{{#if target.error}}{{d-icon "triangle-exclamation"}}{{/if}}
|
||||
{{#if target.icon}}{{d-icon target.icon}}{{/if}}
|
||||
{{i18n (concat "admin.customize.theme." target.name)}}
|
||||
</LinkTo>
|
||||
|
@ -30,9 +30,7 @@
|
|||
}}
|
||||
class="no-text"
|
||||
>
|
||||
{{d-icon
|
||||
(if this.showAdvanced "angle-double-left" "angle-double-right")
|
||||
}}
|
||||
{{d-icon (if this.showAdvanced "angles-left" "angles-right")}}
|
||||
</a>
|
||||
</li>
|
||||
{{/if}}
|
||||
|
@ -66,7 +64,7 @@
|
|||
title={{field.title}}
|
||||
class={{if field.edited "edited" "blank"}}
|
||||
>
|
||||
{{#if field.error}}{{d-icon "exclamation-triangle"}}{{/if}}
|
||||
{{#if field.error}}{{d-icon "triangle-exclamation"}}{{/if}}
|
||||
{{#if field.icon}}{{d-icon field.icon}}{{/if}}
|
||||
{{field.translatedName}}
|
||||
</LinkTo>
|
||||
|
@ -89,7 +87,7 @@
|
|||
/>
|
||||
<DButton
|
||||
@action={{this.cancelAddField}}
|
||||
@icon="times"
|
||||
@icon="xmark"
|
||||
class="cancel"
|
||||
/>
|
||||
{{else}}
|
||||
|
|
|
@ -114,7 +114,7 @@
|
|||
/>
|
||||
<DButton
|
||||
@action={{this.cancel}}
|
||||
@icon="times"
|
||||
@icon="xmark"
|
||||
@label="admin.user_fields.cancel"
|
||||
class="btn-danger cancel"
|
||||
/>
|
||||
|
@ -132,13 +132,13 @@
|
|||
<div class="form-element controls">
|
||||
<DButton
|
||||
@action={{this.edit}}
|
||||
@icon="pencil-alt"
|
||||
@icon="pencil"
|
||||
@label="admin.user_fields.edit"
|
||||
class="btn-default edit"
|
||||
/>
|
||||
<DButton
|
||||
@action={{fn this.destroyAction this.userField}}
|
||||
@icon="far-trash-alt"
|
||||
@icon="trash-can"
|
||||
@label="admin.user_fields.delete"
|
||||
class="btn-danger cancel"
|
||||
/>
|
||||
|
|
|
@ -30,7 +30,7 @@ export default class AdminWatchedWord extends Component {
|
|||
<div class="watched-word">
|
||||
<DButton
|
||||
@action={{this.deleteWord}}
|
||||
@icon="times"
|
||||
@icon="xmark"
|
||||
class="btn-transparent delete-word-record"
|
||||
/>
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ export default class DashboardPeriodSelector extends Component {
|
|||
@fullDay={{false}}
|
||||
/>
|
||||
<DButton
|
||||
@icon="cog"
|
||||
@icon="gear"
|
||||
@action={{this.openCustomDateRangeModal}}
|
||||
@title="admin.dashboard.custom_date_range"
|
||||
class="custom-date-range-button"
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
problem.priority
|
||||
}}
|
||||
>
|
||||
{{d-icon "exclamation-triangle"}}
|
||||
{{d-icon "triangle-exclamation"}}
|
||||
{{html-safe problem.message}}
|
||||
</li>
|
||||
{{/each}}
|
||||
|
@ -45,7 +45,7 @@
|
|||
<p class="actions">
|
||||
<DButton
|
||||
@action={{this.refreshProblems}}
|
||||
@icon="sync"
|
||||
@icon="arrows-rotate"
|
||||
@label="admin.dashboard.refresh_problems"
|
||||
class="btn-default"
|
||||
/>
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
class="btn-primary"
|
||||
/>
|
||||
<DButton
|
||||
@icon="times"
|
||||
@icon="xmark"
|
||||
@action={{this.cancel}}
|
||||
@disabled={{this.host.isSaving}}
|
||||
class="btn-danger"
|
||||
|
@ -81,7 +81,7 @@
|
|||
{{this.user}}
|
||||
</td>
|
||||
<td class="controls">
|
||||
<DButton @icon="pencil-alt" @action={{this.edit}} />
|
||||
<DButton @icon="far-trash-alt" @action={{this.delete}} class="btn-danger" />
|
||||
<DButton @icon="pencil" @action={{this.edit}} />
|
||||
<DButton @icon="trash-can" @action={{this.delete}} class="btn-danger" />
|
||||
</td>
|
||||
{{/if}}
|
|
@ -4,7 +4,7 @@
|
|||
<li class="value" data-index={{index}}>
|
||||
<DButton
|
||||
@action={{fn this.removeValue data}}
|
||||
@icon="times"
|
||||
@icon="xmark"
|
||||
@disabled={{not data.isEditable}}
|
||||
class="remove-value-btn btn-small"
|
||||
/>
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
{{/each}}
|
||||
<DButton
|
||||
@label="admin.form_templates.validations_modal.button_title"
|
||||
@icon="check-circle"
|
||||
@icon="circle-check"
|
||||
@action={{this.showValidationOptionsModal}}
|
||||
class="btn-flat btn-icon-text form-templates__validations-modal-button"
|
||||
/>
|
||||
|
@ -58,14 +58,14 @@
|
|||
|
||||
<DButton
|
||||
@label="admin.form_templates.new_template_form.cancel"
|
||||
@icon="times"
|
||||
@icon="xmark"
|
||||
@action={{this.onCancel}}
|
||||
/>
|
||||
|
||||
{{#if this.isEditing}}
|
||||
<DButton
|
||||
@label="admin.form_templates.view_template.delete"
|
||||
@icon="trash-alt"
|
||||
@icon="trash-can"
|
||||
@action={{this.onDelete}}
|
||||
class="btn-danger"
|
||||
/>
|
||||
|
|
|
@ -22,7 +22,7 @@ export default class FormTemplateForm extends Component {
|
|||
quickInsertFields = [
|
||||
{
|
||||
type: "checkbox",
|
||||
icon: "check-square",
|
||||
icon: "square-check",
|
||||
},
|
||||
{
|
||||
type: "input",
|
||||
|
@ -34,11 +34,11 @@ export default class FormTemplateForm extends Component {
|
|||
},
|
||||
{
|
||||
type: "dropdown",
|
||||
icon: "chevron-circle-down",
|
||||
icon: "circle-chevron-down",
|
||||
},
|
||||
{
|
||||
type: "upload",
|
||||
icon: "cloud-upload-alt",
|
||||
icon: "cloud-arrow-up",
|
||||
},
|
||||
{
|
||||
type: "multiselect",
|
||||
|
|
|
@ -14,13 +14,13 @@
|
|||
/>
|
||||
<DButton
|
||||
@title="admin.form_templates.list_table.actions.edit"
|
||||
@icon="pencil-alt"
|
||||
@icon="pencil"
|
||||
@action={{this.editTemplate}}
|
||||
class="btn-edit-template"
|
||||
/>
|
||||
<DButton
|
||||
@title="admin.form_templates.list_table.actions.delete"
|
||||
@icon="far-trash-alt"
|
||||
@icon="trash-can"
|
||||
@action={{this.deleteTemplate}}
|
||||
class="btn-danger btn-delete-template"
|
||||
/>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
/>
|
||||
<DButton
|
||||
@action={{this.cancel}}
|
||||
@icon="times"
|
||||
@icon="xmark"
|
||||
class="btn-small cancel-edit"
|
||||
/>
|
||||
{{/if}}
|
|
@ -9,7 +9,7 @@
|
|||
{{#if this.show}}
|
||||
<div class="location-box">
|
||||
<a href class="close pull-right" {{on "click" this.hide}}>{{d-icon
|
||||
"times"
|
||||
"xmark"
|
||||
}}</a>
|
||||
{{#if this.copied}}
|
||||
<DButton
|
||||
|
@ -58,7 +58,7 @@
|
|||
{{#if this.other_accounts.length}}
|
||||
<DButton
|
||||
@action={{this.deleteOtherAccounts}}
|
||||
@icon="exclamation-triangle"
|
||||
@icon="triangle-exclamation"
|
||||
@translatedLabel={{i18n
|
||||
"ip_lookup.delete_other_accounts"
|
||||
count=this.otherAccountsToDelete
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
{{#if this.countWarning}}
|
||||
<div class="count-warning">
|
||||
<p class="heading">
|
||||
{{d-icon "exclamation-triangle"}}
|
||||
{{d-icon "triangle-exclamation"}}
|
||||
{{i18n "admin.badges.preview.bad_count_warning.header"}}
|
||||
</p>
|
||||
<p class="body">
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
<DButton
|
||||
@action={{this.updateDateRange}}
|
||||
@label="admin.dashboard.reports.refresh_report"
|
||||
@icon="sync"
|
||||
@icon="arrows-rotate"
|
||||
/>
|
||||
</:footer>
|
||||
</DModal>
|
|
@ -21,7 +21,7 @@
|
|||
<DButton
|
||||
class="btn-danger"
|
||||
@action={{@model.deleteAllPosts}}
|
||||
@icon="trash-alt"
|
||||
@icon="trash-can"
|
||||
@disabled={{this.deleteDisabled}}
|
||||
@translatedLabel={{i18n
|
||||
"admin.user.delete_posts.confirmation.delete"
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
<DButton
|
||||
@action={{fn (mut wc.editing) true}}
|
||||
@disabled={{wc.system}}
|
||||
@icon="pencil-alt"
|
||||
@icon="pencil"
|
||||
/>
|
||||
{{/if}}
|
||||
<DButton @action={{fn this.up wc}} @icon="chevron-up" />
|
||||
|
@ -30,7 +30,7 @@
|
|||
<DButton
|
||||
@action={{fn this.delete wc}}
|
||||
@disabled={{wc.system}}
|
||||
@icon="times"
|
||||
@icon="xmark"
|
||||
/>
|
||||
</div>
|
||||
</li>
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<DButton
|
||||
class="btn-danger"
|
||||
@action={{fn @model.merge @model.targetUsername}}
|
||||
@icon="trash-alt"
|
||||
@icon="trash-can"
|
||||
@disabled={{this.mergeDisabled}}
|
||||
@translatedLabel={{i18n
|
||||
"admin.user.merge.confirmation.transfer_and_delete"
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
<DButton
|
||||
class="btn-primary"
|
||||
@action={{fn @model.showMergeConfirmation (get this.targetUsername "0")}}
|
||||
@icon="trash-alt"
|
||||
@icon="trash-can"
|
||||
@disabled={{this.mergeDisabled}}
|
||||
@translatedLabel={{i18n
|
||||
"admin.user.merge.confirmation.transfer_and_delete"
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<a href class="selectable-avatar" {{on "click" (fn this.remove image)}}>
|
||||
{{bound-avatar-template image "huge"}}
|
||||
<span class="selectable-avatar__remove">{{d-icon
|
||||
"times-circle"
|
||||
"circle-xmark"
|
||||
}}</span>
|
||||
</a>
|
||||
{{else}}
|
||||
|
|
|
@ -308,7 +308,7 @@ export default class SchemaThemeSettingNewEditor extends Component {
|
|||
{{#if (gt this.fields.length 0)}}
|
||||
<DButton
|
||||
@action={{this.removeItem}}
|
||||
@icon="trash-alt"
|
||||
@icon="trash-can"
|
||||
class="btn-danger schema-theme-setting-editor__remove-btn"
|
||||
/>
|
||||
{{/if}}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<div class="value" data-index={{index}}>
|
||||
<DButton
|
||||
@action={{fn this.removeValue value}}
|
||||
@icon="times"
|
||||
@icon="xmark"
|
||||
class="remove-value-btn btn-small"
|
||||
/>
|
||||
<Input
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<div class="validation-error {{unless this.message 'hidden'}}">
|
||||
{{d-icon "times"}}
|
||||
{{d-icon "xmark"}}
|
||||
{{this.message}}
|
||||
</div>
|
|
@ -4,7 +4,7 @@
|
|||
<div data-index={{index}} class="value">
|
||||
<DButton
|
||||
@action={{fn this.removeValue value}}
|
||||
@icon="times"
|
||||
@icon="xmark"
|
||||
class="remove-value-btn btn-small"
|
||||
/>
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
title={{i18n "admin.settings.history"}}
|
||||
>
|
||||
<span class="history-icon">
|
||||
{{d-icon "history"}}
|
||||
{{d-icon "clock-rotate-left"}}
|
||||
</span>
|
||||
</LinkTo>
|
||||
{{/if}}
|
||||
|
@ -62,7 +62,7 @@
|
|||
/>
|
||||
<DButton
|
||||
@action={{this.cancel}}
|
||||
@icon="times"
|
||||
@icon="xmark"
|
||||
class="cancel setting-controls__cancel"
|
||||
/>
|
||||
</div>
|
||||
|
@ -78,7 +78,7 @@
|
|||
<DButton
|
||||
class="btn-default undo setting-controls__undo"
|
||||
@action={{this.resetDefault}}
|
||||
@icon="undo"
|
||||
@icon="arrow-rotate-left"
|
||||
@label="admin.settings.reset"
|
||||
/>
|
||||
{{/if}}
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
{{#each this.errors as |error|}}
|
||||
<div class="validation-error">
|
||||
{{d-icon "times"}}
|
||||
{{d-icon "xmark"}}
|
||||
<b>{{error.setting}}</b>:
|
||||
{{error.errorMessage}}
|
||||
</div>
|
||||
|
|
|
@ -117,14 +117,14 @@ export default class ThemesListItem extends Component {
|
|||
{{/if}}
|
||||
{{#if @theme.isPendingUpdates}}
|
||||
{{icon
|
||||
"sync"
|
||||
"arrows-rotate"
|
||||
title="admin.customize.theme.updates_available_tooltip"
|
||||
class="light-grey-icon"
|
||||
}}
|
||||
{{/if}}
|
||||
{{#if @theme.isBroken}}
|
||||
{{icon
|
||||
"exclamation-circle"
|
||||
"circle-exclamation"
|
||||
class="broken-indicator"
|
||||
title="admin.customize.theme.broken_theme_tooltip"
|
||||
}}
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
@type="search"
|
||||
@value={{mut this.searchTerm}}
|
||||
/>
|
||||
{{d-icon "search"}}
|
||||
{{d-icon "magnifying-glass"}}
|
||||
</div>
|
||||
<div class="themes-list-filter">
|
||||
<div class="themes-list-filter__label">
|
||||
|
@ -101,7 +101,7 @@
|
|||
@action={{this.deleteConfirmation}}
|
||||
@disabled={{eq this.selectedCount 0}}
|
||||
>
|
||||
{{d-icon "trash-alt"}}
|
||||
{{d-icon "trash-can"}}
|
||||
Delete
|
||||
</DButton>
|
||||
{{/if}}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<div data-index={{index}} class="value">
|
||||
<DButton
|
||||
@action={{fn this.removeValue value}}
|
||||
@icon="times"
|
||||
@icon="xmark"
|
||||
class="remove-value-btn btn-small"
|
||||
/>
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
<div class="version-status">
|
||||
<div class="face">
|
||||
<span class="icon critical-updates-available">
|
||||
{{d-icon "far-frown"}}
|
||||
{{d-icon "far-face-frown"}}
|
||||
</span>
|
||||
</div>
|
||||
<div class="version-notes">
|
||||
|
@ -65,11 +65,11 @@
|
|||
<div class="face">
|
||||
{{#if this.versionCheck.version_check_pending}}
|
||||
<span class="icon up-to-date">
|
||||
{{d-icon "far-smile"}}
|
||||
{{d-icon "far-face-smile"}}
|
||||
</span>
|
||||
{{else}}
|
||||
<span class="icon critical-updates-available">
|
||||
{{d-icon "far-frown"}}
|
||||
{{d-icon "far-face-frown"}}
|
||||
</span>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
@ -96,7 +96,7 @@
|
|||
<div class="face">
|
||||
{{#if this.versionCheck.upToDate}}
|
||||
<span class="icon up-to-date">
|
||||
{{d-icon "far-smile"}}
|
||||
{{d-icon "far-face-smile"}}
|
||||
</span>
|
||||
{{else}}
|
||||
<span
|
||||
|
@ -110,7 +110,7 @@
|
|||
{{#if this.versionCheck.behindByOneVersion}}
|
||||
{{d-icon "far-meh"}}
|
||||
{{else}}
|
||||
{{d-icon "far-frown"}}
|
||||
{{d-icon "far-face-frown"}}
|
||||
{{/if}}
|
||||
</span>
|
||||
{{/if}}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<li>
|
||||
<div class="col first status">
|
||||
{{#if @event.redelivering}}
|
||||
{{d-icon "sync"}}
|
||||
{{d-icon "arrows-rotate"}}
|
||||
{{else}}
|
||||
<span class={{this.statusColorClasses}}>{{@event.status}}</span>
|
||||
{{/if}}
|
||||
|
@ -25,7 +25,7 @@
|
|||
@label="admin.web_hooks.events.response"
|
||||
/>
|
||||
<DButton
|
||||
@icon="sync"
|
||||
@icon="arrows-rotate"
|
||||
@action={{this.redeliver}}
|
||||
@label="admin.web_hooks.events.redeliver"
|
||||
/>
|
||||
|
|
|
@ -42,14 +42,14 @@ export default class WebhookEvent extends Component {
|
|||
|
||||
get expandRequestIcon() {
|
||||
return this.expandDetails === this.expandDetailsRequestKey
|
||||
? "ellipsis-h"
|
||||
: "ellipsis-v";
|
||||
? "ellipsis"
|
||||
: "ellipsis-vertical";
|
||||
}
|
||||
|
||||
get expandResponseIcon() {
|
||||
return this.expandDetails === this.expandDetailsResponseKey
|
||||
? "ellipsis-h"
|
||||
: "ellipsis-v";
|
||||
? "ellipsis"
|
||||
: "ellipsis-vertical";
|
||||
}
|
||||
|
||||
@action
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
/>
|
||||
|
||||
<DButton
|
||||
@icon="sync"
|
||||
@icon="arrows-rotate"
|
||||
@label="admin.web_hooks.events.redeliver_failed"
|
||||
@action={{this.redeliverFailed}}
|
||||
@disabled={{not this.redeliverEnabled}}
|
||||
|
|
|
@ -3,7 +3,7 @@ import icon from "discourse-common/helpers/d-icon";
|
|||
import I18n from "discourse-i18n";
|
||||
|
||||
export default class WebhookStatus extends Component {
|
||||
iconNames = ["far-circle", "times-circle", "circle", "circle"];
|
||||
iconNames = ["far-circle", "circle-xmark", "circle", "circle"];
|
||||
iconClasses = ["text-muted", "text-danger", "text-successful", "text-muted"];
|
||||
|
||||
get status() {
|
||||
|
|
|
@ -350,7 +350,7 @@ export default class AdminUserIndexController extends Controller.extend(
|
|||
class: "delete-user-modal",
|
||||
buttons: [
|
||||
{
|
||||
icon: "exclamation-triangle",
|
||||
icon: "triangle-exclamation",
|
||||
label: I18n.t("admin.user.anonymize_yes"),
|
||||
class: "btn-danger",
|
||||
action: () => performAnonymize(),
|
||||
|
@ -425,7 +425,7 @@ export default class AdminUserIndexController extends Controller.extend(
|
|||
},
|
||||
},
|
||||
{
|
||||
icon: "exclamation-triangle",
|
||||
icon: "triangle-exclamation",
|
||||
label: I18n.t("admin.user.delete_and_block"),
|
||||
class: "btn-danger",
|
||||
action: () => {
|
||||
|
|
|
@ -5,6 +5,6 @@ import { renderIcon } from "discourse-common/lib/icon-library";
|
|||
registerRawHelper("check-icon", checkIcon);
|
||||
|
||||
export default function checkIcon(value) {
|
||||
let icon = value ? "check" : "times";
|
||||
let icon = value ? "check" : "xmark";
|
||||
return htmlSafe(renderIcon("string", icon));
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@ export default class DispositionIcon extends Helper {
|
|||
let title = "admin.flags.dispositions." + disposition;
|
||||
switch (disposition) {
|
||||
case "deferred": {
|
||||
icon = "external-link-alt";
|
||||
icon = "up-right-from-square";
|
||||
break;
|
||||
}
|
||||
case "agreed": {
|
||||
|
|
|
@ -199,7 +199,7 @@ export default Mixin.create({
|
|||
});
|
||||
},
|
||||
label: "admin.site_settings.json_schema.edit",
|
||||
icon: "pencil-alt",
|
||||
icon: "pencil",
|
||||
};
|
||||
} else if (setting.objects_schema) {
|
||||
return {
|
||||
|
@ -210,7 +210,7 @@ export default Mixin.create({
|
|||
);
|
||||
},
|
||||
label: "admin.customize.theme.edit_objects_theme_setting",
|
||||
icon: "pencil-alt",
|
||||
icon: "pencil",
|
||||
};
|
||||
}
|
||||
}),
|
||||
|
|
|
@ -692,9 +692,9 @@ export default class Report extends EmberObject {
|
|||
case "trending-down":
|
||||
return higherIsBetter ? "angle-down" : "angle-up";
|
||||
case "high-trending-up":
|
||||
return higherIsBetter ? "angle-double-up" : "angle-double-down";
|
||||
return higherIsBetter ? "angles-up" : "angles-down";
|
||||
case "high-trending-down":
|
||||
return higherIsBetter ? "angle-double-down" : "angle-double-up";
|
||||
return higherIsBetter ? "angles-down" : "angles-up";
|
||||
default:
|
||||
return "minus";
|
||||
}
|
||||
|
|
|
@ -37,8 +37,8 @@ class Theme extends RestModel {
|
|||
return [
|
||||
{ id: 0, name: "common" },
|
||||
{ id: 1, name: "desktop", icon: "desktop" },
|
||||
{ id: 2, name: "mobile", icon: "mobile-alt" },
|
||||
{ id: 3, name: "settings", icon: "cog", advanced: true },
|
||||
{ id: 2, name: "mobile", icon: "mobile-screen-button" },
|
||||
{ id: 3, name: "settings", icon: "gear", advanced: true },
|
||||
{
|
||||
id: 4,
|
||||
name: "translations",
|
||||
|
@ -49,7 +49,7 @@ class Theme extends RestModel {
|
|||
{
|
||||
id: 5,
|
||||
name: "extra_scss",
|
||||
icon: "paint-brush",
|
||||
icon: "paintbrush",
|
||||
advanced: true,
|
||||
customNames: true,
|
||||
},
|
||||
|
@ -124,7 +124,7 @@ class Theme extends RestModel {
|
|||
}
|
||||
|
||||
if (fieldName.indexOf("_tag") > 0) {
|
||||
field.icon = "far-file-alt";
|
||||
field.icon = "far-file-lines";
|
||||
}
|
||||
|
||||
return field;
|
||||
|
|
|
@ -15,7 +15,7 @@ const externalResources = [
|
|||
{
|
||||
key: "admin.customize.theme.browse_themes",
|
||||
link: "https://meta.discourse.org/c/theme",
|
||||
icon: "paint-brush",
|
||||
icon: "paintbrush",
|
||||
},
|
||||
];
|
||||
|
||||
|
|
|
@ -90,7 +90,7 @@ export default class AdminToolsService extends Service {
|
|||
message,
|
||||
class: "flagging-delete-spammer",
|
||||
confirmButtonLabel: "flagging.yes_delete_spammer",
|
||||
confirmButtonIcon: "exclamation-triangle",
|
||||
confirmButtonIcon: "triangle-exclamation",
|
||||
didConfirm: () => {
|
||||
return ajax(`/admin/users/${userId}.json`, {
|
||||
type: "DELETE",
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
@action={{routeAction "editGroupings"}}
|
||||
@title="admin.badges.group_settings"
|
||||
@label="admin.badges.group_settings"
|
||||
@icon="cog"
|
||||
@icon="gear"
|
||||
class="edit-groupings-btn"
|
||||
/>
|
||||
</:actions>
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
class="btn-primary"
|
||||
/>
|
||||
<LinkTo @route="adminBadges.index" class="btn btn-normal">
|
||||
{{d-icon "times"}}
|
||||
{{d-icon "xmark"}}
|
||||
<span>{{i18n "cancel"}}</span>
|
||||
</LinkTo>
|
||||
</form>
|
||||
|
@ -60,14 +60,14 @@
|
|||
{{#if this.success}}
|
||||
{{d-icon "check" class="bulk-award-status-icon success"}}
|
||||
{{else}}
|
||||
{{d-icon "times" class="bulk-award-status-icon failure"}}
|
||||
{{d-icon "xmark" class="bulk-award-status-icon failure"}}
|
||||
{{/if}}
|
||||
{{this.resultsMessage}}
|
||||
</p>
|
||||
{{#if this.unmatchedEntries.length}}
|
||||
<p>
|
||||
{{d-icon
|
||||
"exclamation-triangle"
|
||||
"triangle-exclamation"
|
||||
class="bulk-award-status-icon failure"
|
||||
}}
|
||||
<span>
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
@route="adminSiteText"
|
||||
@query={{hash q=(concat this.textCustomizationPrefix "name")}}
|
||||
>
|
||||
{{d-icon "pencil-alt"}}
|
||||
{{d-icon "pencil"}}
|
||||
</LinkTo>
|
||||
</form.Container>
|
||||
{{else}}
|
||||
|
@ -116,7 +116,7 @@
|
|||
@route="adminSiteText"
|
||||
@query={{hash q=(concat this.textCustomizationPrefix "description")}}
|
||||
>
|
||||
{{d-icon "pencil-alt"}}
|
||||
{{d-icon "pencil"}}
|
||||
</LinkTo>
|
||||
</form.Container>
|
||||
{{else}}
|
||||
|
@ -145,7 +145,7 @@
|
|||
q=(concat this.textCustomizationPrefix "long_description")
|
||||
}}
|
||||
>
|
||||
{{d-icon "pencil-alt"}}
|
||||
{{d-icon "pencil"}}
|
||||
</LinkTo>
|
||||
</form.Container>
|
||||
{{else}}
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
{{#each this.model as |k|}}
|
||||
<tr class={{if k.revoked_at "revoked"}}>
|
||||
<td class="key">
|
||||
{{#if k.revoked_at}}{{d-icon "times-circle"}}{{/if}}
|
||||
{{#if k.revoked_at}}{{d-icon "circle-xmark"}}{{/if}}
|
||||
{{k.truncatedKey}}
|
||||
</td>
|
||||
<td class="key-description">
|
||||
|
@ -57,13 +57,13 @@
|
|||
{{#if k.revoked_at}}
|
||||
<DButton
|
||||
@action={{fn this.undoRevokeKey k}}
|
||||
@icon="undo"
|
||||
@icon="arrow-rotate-left"
|
||||
@title="admin.api.undo_revoke"
|
||||
/>
|
||||
{{else}}
|
||||
<DButton
|
||||
@action={{fn this.revokeKey k}}
|
||||
@icon="times"
|
||||
@icon="xmark"
|
||||
@title="admin.api.revoke"
|
||||
class="btn-danger"
|
||||
/>
|
||||
|
|
|
@ -89,7 +89,7 @@
|
|||
<td>
|
||||
<div class="scope-name">{{act.name}}</div>
|
||||
<DTooltip
|
||||
@icon="question-circle"
|
||||
@icon="circle-question"
|
||||
@content={{i18n
|
||||
(concat
|
||||
"admin.api.scopes.descriptions." resource "." act.key
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
<div class="api-key api-key-show">
|
||||
<AdminFormRow @label="admin.api.key">
|
||||
{{#if this.model.revoked_at}}{{d-icon "times-circle"}}{{/if}}
|
||||
{{#if this.model.revoked_at}}{{d-icon "circle-xmark"}}{{/if}}
|
||||
{{this.model.truncatedKey}}
|
||||
</AdminFormRow>
|
||||
|
||||
|
@ -31,13 +31,13 @@
|
|||
<DButton @action={{this.saveDescription}} @icon="check" class="ok" />
|
||||
<DButton
|
||||
@action={{this.editDescription}}
|
||||
@icon="times"
|
||||
@icon="xmark"
|
||||
class="cancel"
|
||||
/>
|
||||
{{else}}
|
||||
<DButton
|
||||
@action={{this.editDescription}}
|
||||
@icon="pencil-alt"
|
||||
@icon="pencil"
|
||||
class="btn-default"
|
||||
/>
|
||||
{{/if}}
|
||||
|
@ -81,19 +81,19 @@
|
|||
{{#if this.model.revoked_at}}
|
||||
<DButton
|
||||
@action={{fn this.undoRevokeKey this.model}}
|
||||
@icon="undo"
|
||||
@icon="arrow-rotate-left"
|
||||
@label="admin.api.undo_revoke"
|
||||
/>
|
||||
<DButton
|
||||
@action={{fn this.deleteKey this.model}}
|
||||
@icon="trash-alt"
|
||||
@icon="trash-can"
|
||||
@label="admin.api.delete"
|
||||
class="btn-danger"
|
||||
/>
|
||||
{{else}}
|
||||
<DButton
|
||||
@action={{fn this.revokeKey this.model}}
|
||||
@icon="times"
|
||||
@icon="xmark"
|
||||
@label="admin.api.revoke"
|
||||
class="btn-danger"
|
||||
/>
|
||||
|
@ -120,7 +120,7 @@
|
|||
<td>
|
||||
{{scope.action}}
|
||||
<DTooltip
|
||||
@icon="question-circle"
|
||||
@icon="circle-question"
|
||||
@content={{i18n
|
||||
(concat
|
||||
"admin.api.scopes.descriptions."
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
{{#if this.status.restoreDisabled}}
|
||||
<div class="backup-message alert alert-info">
|
||||
{{dIcon "info-circle"}}
|
||||
{{dIcon "circle-info"}}
|
||||
{{html-safe
|
||||
(i18n
|
||||
"admin.backups.operations.restore.is_disabled"
|
||||
|
@ -46,14 +46,14 @@
|
|||
<DMenu
|
||||
@identifier="backup-item-menu"
|
||||
@title={{i18n "more_options"}}
|
||||
@icon="ellipsis-v"
|
||||
@icon="ellipsis-vertical"
|
||||
class="btn-small"
|
||||
>
|
||||
<:content>
|
||||
<DropdownMenu as |dropdown|>
|
||||
<dropdown.item>
|
||||
<DButton
|
||||
@icon="far-trash-alt"
|
||||
@icon="trash-can"
|
||||
@action={{fn (route-action "destroyBackup") backup}}
|
||||
@disabled={{this.status.isOperationRunning}}
|
||||
@title={{this.deleteTitle}}
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
{{else}}
|
||||
<DButton
|
||||
@action={{this.destroy}}
|
||||
@icon="far-trash-alt"
|
||||
@icon="trash-can"
|
||||
@label="admin.customize.delete"
|
||||
class="btn-danger"
|
||||
/>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
@model={{scheme}}
|
||||
@replace={{true}}
|
||||
>
|
||||
{{d-icon "paint-brush"}}
|
||||
{{d-icon "paintbrush"}}
|
||||
{{scheme.description}}
|
||||
</LinkTo>
|
||||
</li>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
>
|
||||
<DButton
|
||||
@disabled={{this.resetDisabled}}
|
||||
@icon="undo"
|
||||
@icon="arrow-rotate-left"
|
||||
@action={{this.reset}}
|
||||
@label="admin.settings.reset"
|
||||
class="btn-default"
|
||||
|
|
|
@ -20,14 +20,14 @@
|
|||
/>
|
||||
<DButton
|
||||
@action={{this.cancelEditingName}}
|
||||
@icon="times"
|
||||
@icon="xmark"
|
||||
class="btn-small cancel-edit"
|
||||
/>
|
||||
{{else}}
|
||||
<span>{{this.model.name}}</span>
|
||||
<DButton
|
||||
@action={{this.startEditingName}}
|
||||
@icon="pencil-alt"
|
||||
@icon="pencil"
|
||||
class="btn-small"
|
||||
/>
|
||||
{{/if}}
|
||||
|
@ -59,7 +59,7 @@
|
|||
|
||||
{{#if this.showRemoteError}}
|
||||
<div class="error-message">
|
||||
{{d-icon "exclamation-triangle"}}
|
||||
{{d-icon "triangle-exclamation"}}
|
||||
{{i18n "admin.customize.theme.repo_unreachable"}}
|
||||
</div>
|
||||
<div class="raw-error">
|
||||
|
@ -76,7 +76,7 @@
|
|||
<DButton
|
||||
@action={{this.destroyTheme}}
|
||||
@label="admin.customize.delete"
|
||||
@icon="trash-alt"
|
||||
@icon="trash-can"
|
||||
class="btn-danger"
|
||||
/>
|
||||
|
||||
|
@ -185,7 +185,7 @@
|
|||
|
||||
{{#if this.showRemoteError}}
|
||||
<div class="error-message">
|
||||
{{d-icon "exclamation-triangle"}}
|
||||
{{d-icon "triangle-exclamation"}}
|
||||
{{i18n "admin.customize.theme.repo_unreachable"}}
|
||||
</div>
|
||||
<div class="raw-error">
|
||||
|
@ -203,7 +203,7 @@
|
|||
{{else}}
|
||||
<DButton
|
||||
@action={{this.checkForThemeUpdates}}
|
||||
@icon="sync"
|
||||
@icon="arrows-rotate"
|
||||
@label="admin.customize.theme.check_for_updates"
|
||||
class="btn-default"
|
||||
/>
|
||||
|
@ -240,7 +240,7 @@
|
|||
</span>
|
||||
{{else}}
|
||||
<span class="status-message">
|
||||
{{d-icon "info-circle"}}
|
||||
{{d-icon "circle-info"}}
|
||||
{{i18n "admin.customize.theme.imported_from_archive"}}
|
||||
</span>
|
||||
{{/if}}
|
||||
|
@ -296,7 +296,7 @@
|
|||
<ColorPalettes
|
||||
@content={{this.colorSchemes}}
|
||||
@value={{this.colorSchemeId}}
|
||||
@icon="paint-brush"
|
||||
@icon="paintbrush"
|
||||
@options={{hash filterable=true}}
|
||||
/>
|
||||
{{#if this.colorSchemeId}}
|
||||
|
@ -322,7 +322,7 @@
|
|||
/>
|
||||
<DButton
|
||||
@action={{this.cancelChangeScheme}}
|
||||
@icon="times"
|
||||
@icon="xmark"
|
||||
class="cancel cancel-edit"
|
||||
/>
|
||||
{{/if}}
|
||||
|
@ -395,7 +395,7 @@
|
|||
<span class="col">
|
||||
<DButton
|
||||
@action={{fn this.removeUpload upload}}
|
||||
@icon="times"
|
||||
@icon="xmark"
|
||||
class="second btn-default btn-default cancel-edit"
|
||||
/>
|
||||
</span>
|
||||
|
@ -546,7 +546,7 @@
|
|||
<DButton
|
||||
@action={{this.destroyTheme}}
|
||||
@label="admin.customize.delete"
|
||||
@icon="trash-alt"
|
||||
@icon="trash-can"
|
||||
class="btn-danger"
|
||||
/>
|
||||
</div>
|
||||
|
|
|
@ -61,7 +61,7 @@
|
|||
{{on "click" (fn this.handleShowIncomingEmail l.id)}}
|
||||
title={{i18n "admin.email.details_title"}}
|
||||
>
|
||||
{{d-icon "info-circle"}}
|
||||
{{d-icon "circle-info"}}
|
||||
</a>
|
||||
{{/if}}
|
||||
</td>
|
||||
|
|
|
@ -9,7 +9,11 @@
|
|||
<EmailGroupUserChooser
|
||||
@value={{this.username}}
|
||||
@onChange={{action "updateUsername"}}
|
||||
@options={{hash maximum=1}}
|
||||
@options={{hash
|
||||
maximum=1
|
||||
caretDownIcon="caret-down"
|
||||
caretUpIcon="caret-up"
|
||||
}}
|
||||
/>
|
||||
<DButton
|
||||
@action={{this.refresh}}
|
||||
|
|
|
@ -73,7 +73,7 @@
|
|||
{{on "click" (fn this.handleShowIncomingEmail email.id)}}
|
||||
title={{i18n "admin.email.details_title"}}
|
||||
>
|
||||
{{d-icon "info-circle"}}
|
||||
{{d-icon "circle-info"}}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
</td>
|
||||
<td class="sent-email-address">
|
||||
{{#if l.bounced}}{{d-icon
|
||||
"redo"
|
||||
"arrow-rotate-right"
|
||||
title="admin.email.bounced"
|
||||
}}{{/if}}
|
||||
<p><a
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
<td class="action">
|
||||
<DButton
|
||||
@action={{fn this.destroyEmoji e}}
|
||||
@icon="far-trash-alt"
|
||||
@icon="trash-can"
|
||||
class="btn-danger"
|
||||
/>
|
||||
</td>
|
||||
|
|
|
@ -95,12 +95,12 @@
|
|||
{{else}}
|
||||
<DButton
|
||||
@action={{fn this.destroyRecord item}}
|
||||
@icon="far-trash-alt"
|
||||
@icon="trash-can"
|
||||
class="btn-default btn-danger"
|
||||
/>
|
||||
<DButton
|
||||
@action={{fn this.edit item}}
|
||||
@icon="pencil-alt"
|
||||
@icon="pencil"
|
||||
class="btn-default"
|
||||
/>
|
||||
{{#if item.isBlocked}}
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
>
|
||||
<span class="label">{{i18n "admin.logs.action"}}</span>:
|
||||
{{this.actionFilter}}
|
||||
{{d-icon "times-circle"}}
|
||||
{{d-icon "circle-xmark"}}
|
||||
</a>
|
||||
{{/if}}
|
||||
{{#if this.filters.acting_user}}
|
||||
|
@ -31,7 +31,7 @@
|
|||
"admin.logs.staff_actions.staff_user"
|
||||
}}</span>:
|
||||
{{this.filters.acting_user}}
|
||||
{{d-icon "times-circle"}}
|
||||
{{d-icon "circle-xmark"}}
|
||||
</a>
|
||||
{{/if}}
|
||||
{{#if this.filters.target_user}}
|
||||
|
@ -44,7 +44,7 @@
|
|||
"admin.logs.staff_actions.target_user"
|
||||
}}</span>:
|
||||
{{this.filters.target_user}}
|
||||
{{d-icon "times-circle"}}
|
||||
{{d-icon "circle-xmark"}}
|
||||
</a>
|
||||
{{/if}}
|
||||
{{#if this.filters.subject}}
|
||||
|
@ -57,7 +57,7 @@
|
|||
"admin.logs.staff_actions.subject"
|
||||
}}</span>:
|
||||
{{this.filters.subject}}
|
||||
{{d-icon "times-circle"}}
|
||||
{{d-icon "circle-xmark"}}
|
||||
</a>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
@ -109,7 +109,7 @@
|
|||
class="deleted-user"
|
||||
title={{i18n "admin.user.deleted"}}
|
||||
>
|
||||
{{d-icon "far-trash-alt"}}
|
||||
{{d-icon "trash-can"}}
|
||||
</span>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
@ -154,14 +154,14 @@
|
|||
<a
|
||||
href
|
||||
{{on "click" (fn this.showCustomDetailsModal item)}}
|
||||
>{{d-icon "info-circle"}}
|
||||
>{{d-icon "circle-info"}}
|
||||
{{i18n "admin.logs.staff_actions.show"}}</a>
|
||||
{{/if}}
|
||||
{{#if item.useModalForDetails}}
|
||||
<a
|
||||
href
|
||||
{{on "click" (fn this.showDetailsModal item)}}
|
||||
>{{d-icon "info-circle"}}
|
||||
>{{d-icon "circle-info"}}
|
||||
{{i18n "admin.logs.staff_actions.show"}}</a>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
{{/if}}
|
||||
{{#if pl.external_url}}
|
||||
{{#if pl.linkIsExternal}}
|
||||
{{d-icon "external-link-alt"}}
|
||||
{{d-icon "up-right-from-square"}}
|
||||
{{/if}}
|
||||
<a href={{pl.external_url}}>{{pl.external_url}}</a>
|
||||
{{/if}}
|
||||
|
@ -67,7 +67,7 @@
|
|||
<td class="col action" style="text-align: right;">
|
||||
<DButton
|
||||
@action={{fn this.destroyRecord pl}}
|
||||
@icon="far-trash-alt"
|
||||
@icon="trash-can"
|
||||
class="btn-danger"
|
||||
/>
|
||||
</td>
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
</AdminPageHeader>
|
||||
|
||||
<div class="alert alert-info -top-margin admin-plugins-howto">
|
||||
{{dIcon "info-circle"}}
|
||||
{{dIcon "circle-info"}}
|
||||
<a href="https://meta.discourse.org/t/install-a-plugin/19157">
|
||||
{{i18n "admin.plugins.howto"}}
|
||||
</a>
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
@action={{this.showReseedModal}}
|
||||
@label="admin.reseed.action.label"
|
||||
@title="admin.reseed.action.title"
|
||||
@icon="sync"
|
||||
@icon="arrows-rotate"
|
||||
class="btn-default"
|
||||
/>
|
||||
</div>
|
||||
|
|
|
@ -232,7 +232,7 @@
|
|||
{{#if this.canDisableSecondFactor}}
|
||||
<DButton
|
||||
@action={{this.disableSecondFactor}}
|
||||
@icon="unlock-alt"
|
||||
@icon="unlock-keyhole"
|
||||
@label="user.second_factor.disable"
|
||||
class="btn-default"
|
||||
/>
|
||||
|
@ -365,7 +365,7 @@
|
|||
{{#if this.model.can_revoke_admin}}
|
||||
<DButton
|
||||
@action={{this.revokeAdmin}}
|
||||
@icon="shield-alt"
|
||||
@icon="shield-halved"
|
||||
@label="admin.user.revoke_admin"
|
||||
class="btn-default"
|
||||
/>
|
||||
|
@ -373,7 +373,7 @@
|
|||
{{#if this.model.can_grant_admin}}
|
||||
<DButton
|
||||
@action={{this.grantAdmin}}
|
||||
@icon="shield-alt"
|
||||
@icon="shield-halved"
|
||||
@label="admin.user.grant_admin"
|
||||
class="btn-default grant-admin"
|
||||
/>
|
||||
|
@ -388,7 +388,7 @@
|
|||
{{#if this.model.can_revoke_moderation}}
|
||||
<DButton
|
||||
@action={{this.revokeModeration}}
|
||||
@icon="shield-alt"
|
||||
@icon="shield-halved"
|
||||
@label="admin.user.revoke_moderation"
|
||||
class="btn-default"
|
||||
/>
|
||||
|
@ -396,7 +396,7 @@
|
|||
{{#if this.model.can_grant_moderation}}
|
||||
<DButton
|
||||
@action={{this.grantModeration}}
|
||||
@icon="shield-alt"
|
||||
@icon="shield-halved"
|
||||
@label="admin.user.grant_moderation"
|
||||
class="btn-default"
|
||||
/>
|
||||
|
@ -423,7 +423,7 @@
|
|||
/>
|
||||
<DButton
|
||||
@action={{this.restoreTrustLevel}}
|
||||
@icon="times"
|
||||
@icon="xmark"
|
||||
class="cancel no-text"
|
||||
/>
|
||||
</div>
|
||||
|
@ -585,7 +585,7 @@
|
|||
<div class="controls">
|
||||
<DButton
|
||||
@label="admin.user.clear_penalty_history.title"
|
||||
@icon="times"
|
||||
@icon="xmark"
|
||||
@action={{this.clearPenaltyHistory}}
|
||||
class="btn-default"
|
||||
/>
|
||||
|
@ -618,7 +618,7 @@
|
|||
<div class="controls">
|
||||
<DButton @icon="check" @action={{this.saveCustomGroups}} class="ok" />
|
||||
<DButton
|
||||
@icon="times"
|
||||
@icon="xmark"
|
||||
@action={{this.resetCustomGroups}}
|
||||
class="cancel"
|
||||
/>
|
||||
|
@ -644,7 +644,7 @@
|
|||
class="ok"
|
||||
/>
|
||||
<DButton
|
||||
@icon="times"
|
||||
@icon="xmark"
|
||||
@action={{this.resetPrimaryGroup}}
|
||||
class="cancel"
|
||||
/>
|
||||
|
@ -694,7 +694,7 @@
|
|||
{{#if this.model.post_count}}
|
||||
<DButton
|
||||
@action={{this.showDeletePostsConfirmation}}
|
||||
@icon="far-trash-alt"
|
||||
@icon="trash-can"
|
||||
@label="admin.user.delete_posts.button"
|
||||
class="btn-danger"
|
||||
/>
|
||||
|
@ -782,7 +782,7 @@
|
|||
<div class="controls">
|
||||
<DButton
|
||||
@action={{this.deleteSSORecord}}
|
||||
@icon="far-trash-alt"
|
||||
@icon="trash-can"
|
||||
@label="admin.user.discourse_connect.delete_sso_record"
|
||||
class="btn-danger"
|
||||
/>
|
||||
|
@ -877,7 +877,7 @@
|
|||
{{#if this.model.can_be_anonymized}}
|
||||
<DButton
|
||||
@label="admin.user.anonymize"
|
||||
@icon="exclamation-triangle"
|
||||
@icon="triangle-exclamation"
|
||||
@action={{this.anonymize}}
|
||||
class="btn-danger btn-anonymize"
|
||||
/>
|
||||
|
@ -886,7 +886,7 @@
|
|||
{{#if this.model.canBeDeleted}}
|
||||
<DButton
|
||||
@label="admin.user.delete"
|
||||
@icon="trash-alt"
|
||||
@icon="trash-can"
|
||||
@action={{this.destroyUser}}
|
||||
class="btn-danger btn-user-delete"
|
||||
/>
|
||||
|
@ -895,7 +895,7 @@
|
|||
{{#if this.model.can_be_merged}}
|
||||
<DButton
|
||||
@label="admin.user.merge.button"
|
||||
@icon="arrows-alt-h"
|
||||
@icon="left-right"
|
||||
@action={{this.promptTargetUser}}
|
||||
class="btn-danger btn-user-merge"
|
||||
/>
|
||||
|
@ -906,7 +906,7 @@
|
|||
<div class="clearfix"></div>
|
||||
<br />
|
||||
<div class="pull-right">
|
||||
{{d-icon "exclamation-triangle"}}
|
||||
{{d-icon "triangle-exclamation"}}
|
||||
{{this.deleteExplanation}}
|
||||
</div>
|
||||
{{/if}}
|
||||
|
|
|
@ -145,11 +145,11 @@
|
|||
{{#if this.model.tl3Requirements.requirements_lost}}
|
||||
{{! tl implicitly not locked }}
|
||||
{{#if this.model.tl3Requirements.on_grace_period}}
|
||||
{{d-icon "times"}}
|
||||
{{d-icon "xmark"}}
|
||||
{{i18n "admin.user.tl3_requirements.on_grace_period"}}
|
||||
{{else}}
|
||||
{{! not on grace period }}
|
||||
{{d-icon "times"}}
|
||||
{{d-icon "xmark"}}
|
||||
{{i18n "admin.user.tl3_requirements.does_not_qualify"}}
|
||||
{{i18n "admin.user.tl3_requirements.will_be_demoted"}}
|
||||
{{/if}}
|
||||
|
@ -180,7 +180,7 @@
|
|||
{{d-icon "lock"}}
|
||||
{{i18n "admin.user.tl3_requirements.locked_will_not_be_promoted"}}
|
||||
{{else}}
|
||||
{{d-icon "times"}}
|
||||
{{d-icon "xmark"}}
|
||||
{{i18n "admin.user.tl3_requirements.does_not_qualify"}}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
|
|
@ -256,10 +256,10 @@
|
|||
</span>
|
||||
<span class="directory-table__value">
|
||||
{{#if user.admin}}
|
||||
{{d-icon "shield-alt" title="admin.title"}}
|
||||
{{d-icon "shield-halved" title="admin.title"}}
|
||||
{{/if}}
|
||||
{{#if user.moderator}}
|
||||
{{d-icon "shield-alt" title="admin.moderator"}}
|
||||
{{d-icon "shield-halved" title="admin.moderator"}}
|
||||
{{/if}}
|
||||
{{#if user.second_factor_enabled}}
|
||||
{{d-icon "lock" title="admin.user.second_factor_enabled"}}
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
<DButton
|
||||
@label="admin.watched_words.clear_all"
|
||||
@icon="trash-alt"
|
||||
@icon="trash-can"
|
||||
@action={{this.clearAll}}
|
||||
class="btn-danger clear-all"
|
||||
/>
|
||||
|
|
|
@ -47,12 +47,12 @@
|
|||
class="btn btn-default no-text"
|
||||
title={{i18n "admin.web_hooks.edit"}}
|
||||
>
|
||||
{{d-icon "far-edit"}}
|
||||
{{d-icon "far-pen-to-square"}}
|
||||
</LinkTo>
|
||||
|
||||
<DButton
|
||||
@action={{fn this.destroyWebhook webhook}}
|
||||
@icon="times"
|
||||
@icon="xmark"
|
||||
@title="delete"
|
||||
class="destroy btn-danger"
|
||||
/>
|
||||
|
|
|
@ -9,14 +9,14 @@
|
|||
|
||||
<DButton
|
||||
@action={{this.edit}}
|
||||
@icon="far-edit"
|
||||
@icon="far-pen-to-square"
|
||||
@title={{i18n "admin.web_hooks.edit"}}
|
||||
class="no-text admin-webhooks__edit-button"
|
||||
/>
|
||||
|
||||
<DButton
|
||||
@action={{this.destroyWebhook}}
|
||||
@icon="times"
|
||||
@icon="xmark"
|
||||
@title="delete"
|
||||
class="destroy btn-danger admin-webhooks__delete-button"
|
||||
/>
|
||||
|
|
|
@ -35,7 +35,7 @@ export default class DialogHolder extends Component {
|
|||
<DButton
|
||||
@action={{this.dialog.cancel}}
|
||||
@title="modal.close"
|
||||
@icon="times"
|
||||
@icon="xmark"
|
||||
class="btn-flat dialog-close close"
|
||||
/>
|
||||
</div>
|
||||
|
|
|
@ -47,7 +47,7 @@ export default class AboutPage extends Component {
|
|||
},
|
||||
{
|
||||
class: "admins",
|
||||
icon: "shield-alt",
|
||||
icon: "shield-halved",
|
||||
text: I18n.t("about.admin_count", {
|
||||
count: this.adminsCount,
|
||||
formatted_number: I18n.toNumber(this.adminsCount, { precision: 0 }),
|
||||
|
@ -55,7 +55,7 @@ export default class AboutPage extends Component {
|
|||
},
|
||||
{
|
||||
class: "moderators",
|
||||
icon: "shield-alt",
|
||||
icon: "shield-halved",
|
||||
text: I18n.t("about.moderator_count", {
|
||||
count: this.moderatorsCount,
|
||||
formatted_number: I18n.toNumber(this.moderatorsCount, {
|
||||
|
@ -65,7 +65,7 @@ export default class AboutPage extends Component {
|
|||
},
|
||||
{
|
||||
class: "site-creation-date",
|
||||
icon: "calendar-alt",
|
||||
icon: "calendar-days",
|
||||
text: this.siteAgeString,
|
||||
},
|
||||
];
|
||||
|
@ -83,7 +83,7 @@ export default class AboutPage extends Component {
|
|||
period: I18n.t("about.activities.periods.last_7_days"),
|
||||
},
|
||||
{
|
||||
icon: "pencil-alt",
|
||||
icon: "pencil",
|
||||
class: "posts",
|
||||
activityText: I18n.t("about.activities.posts", {
|
||||
count: this.args.model.stats.posts_last_day,
|
||||
|
@ -92,7 +92,7 @@ export default class AboutPage extends Component {
|
|||
period: I18n.t("about.activities.periods.today"),
|
||||
},
|
||||
{
|
||||
icon: "user-friends",
|
||||
icon: "user-group",
|
||||
class: "active-users",
|
||||
activityText: I18n.t("about.activities.active_users", {
|
||||
count: this.args.model.stats.active_users_7_days,
|
||||
|
|
|
@ -9,7 +9,7 @@ const ActionsSummary = <template>
|
|||
{{/each}}
|
||||
{{#if @data.deleted_at}}
|
||||
<div class="post-action deleted-post">
|
||||
{{dIcon "far-trash-alt"}}
|
||||
{{dIcon "trash-can"}}
|
||||
<a
|
||||
class="trigger-user-card"
|
||||
data-user-card={{@data.deletedByUsername}}
|
||||
|
|
|
@ -26,7 +26,7 @@ export default class ActivationControls extends Component {
|
|||
<DButton
|
||||
@action={{@editActivationEmail}}
|
||||
@label="login.change_email"
|
||||
@icon="pencil-alt"
|
||||
@icon="pencil"
|
||||
class="edit-email"
|
||||
/>
|
||||
{{/if}}
|
||||
|
|
|
@ -67,7 +67,7 @@ export default class AdminPostMenu extends Component {
|
|||
"post.controls.revert_to_regular"
|
||||
"post.controls.convert_to_moderator"
|
||||
}}
|
||||
@icon="shield-alt"
|
||||
@icon="shield-halved"
|
||||
class={{concatClass
|
||||
"btn btn-transparent toggle-post-type"
|
||||
(if @data.transformedPost.isModeratorAction "btn-success")
|
||||
|
@ -170,7 +170,7 @@ export default class AdminPostMenu extends Component {
|
|||
<dropdown.item>
|
||||
<DButton
|
||||
@label="post.controls.permanently_delete"
|
||||
@icon="trash-alt"
|
||||
@icon="trash-can"
|
||||
class="btn btn-transparent permanently-delete"
|
||||
@action={{fn this.topicAction "permanentlyDeletePost"}}
|
||||
/>
|
||||
|
@ -182,7 +182,7 @@ export default class AdminPostMenu extends Component {
|
|||
<dropdown.item>
|
||||
<DButton
|
||||
@label="post.controls.unwiki"
|
||||
@icon="far-edit"
|
||||
@icon="far-pen-to-square"
|
||||
class={{concatClass
|
||||
"btn btn-transparent wiki wikied"
|
||||
(if @data.transformedPost.wiki "btn-success")
|
||||
|
@ -194,7 +194,7 @@ export default class AdminPostMenu extends Component {
|
|||
<dropdown.item>
|
||||
<DButton
|
||||
@label="post.controls.wiki"
|
||||
@icon="far-edit"
|
||||
@icon="far-pen-to-square"
|
||||
class="btn btn-transparent wiki"
|
||||
@action={{fn this.topicAction "toggleWiki"}}
|
||||
/>
|
||||
|
@ -217,7 +217,7 @@ export default class AdminPostMenu extends Component {
|
|||
<dropdown.item>
|
||||
<DButton
|
||||
@label="post.controls.rebake"
|
||||
@icon="sync-alt"
|
||||
@icon="rotate"
|
||||
class="btn btn-transparent rebuild-html"
|
||||
@action={{fn this.topicAction "rebakePost"}}
|
||||
/>
|
||||
|
|
|
@ -15,13 +15,13 @@ export default class AuthTokenDropdown extends DropdownSelectBoxComponent {
|
|||
return [
|
||||
{
|
||||
id: "notYou",
|
||||
icon: "user-times",
|
||||
icon: "user-xmark",
|
||||
name: I18n.t("user.auth_tokens.not_you"),
|
||||
description: "",
|
||||
},
|
||||
{
|
||||
id: "logOut",
|
||||
icon: "sign-out-alt",
|
||||
icon: "right-from-bracket",
|
||||
name: I18n.t("user.log_out"),
|
||||
description: "",
|
||||
},
|
||||
|
|
|
@ -27,14 +27,14 @@ export default class BookmarkActionsDropdown extends DropdownSelectBoxComponent
|
|||
|
||||
actions.push({
|
||||
id: ACTION_REMOVE,
|
||||
icon: "trash-alt",
|
||||
icon: "trash-can",
|
||||
name: I18n.t("post.bookmarks.actions.delete_bookmark.name"),
|
||||
description: I18n.t("post.bookmarks.actions.delete_bookmark.description"),
|
||||
});
|
||||
|
||||
actions.push({
|
||||
id: ACTION_EDIT,
|
||||
icon: "pencil-alt",
|
||||
icon: "pencil",
|
||||
name: I18n.t("post.bookmarks.actions.edit_bookmark.name"),
|
||||
description: I18n.t("post.bookmarks.actions.edit_bookmark.description"),
|
||||
});
|
||||
|
@ -42,7 +42,7 @@ export default class BookmarkActionsDropdown extends DropdownSelectBoxComponent
|
|||
if (bookmark.reminder_at) {
|
||||
actions.push({
|
||||
id: ACTION_CLEAR_REMINDER,
|
||||
icon: "history",
|
||||
icon: "clock-rotate-left",
|
||||
name: I18n.t("post.bookmarks.actions.clear_bookmark_reminder.name"),
|
||||
description: I18n.t(
|
||||
"post.bookmarks.actions.clear_bookmark_reminder.description"
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<FlatButton
|
||||
@action={{this.toggleBulkSelect}}
|
||||
@class="bulk-select"
|
||||
@icon="tasks"
|
||||
@icon="list-check"
|
||||
@title="bookmarks.bulk.toggle"
|
||||
/>
|
||||
</th>
|
||||
|
@ -50,7 +50,7 @@
|
|||
<FlatButton
|
||||
@action={{this.toggleBulkSelect}}
|
||||
@class="bulk-select"
|
||||
@icon="tasks"
|
||||
@icon="list-check"
|
||||
@title="bookmarks.bulk.toggle"
|
||||
/>
|
||||
{{i18n "topic.title"}}
|
||||
|
@ -101,7 +101,7 @@
|
|||
{{/if}}
|
||||
{{#if bookmark.name}}
|
||||
<span class="bookmark-metadata-item">
|
||||
{{d-icon "info-circle"}}<span>{{bookmark.name}}</span>
|
||||
{{d-icon "circle-info"}}<span>{{bookmark.name}}</span>
|
||||
</span>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
|
|
@ -173,7 +173,7 @@ export default class BookmarkMenu extends Component {
|
|||
this.toasts.success({
|
||||
duration: 1500,
|
||||
data: {
|
||||
icon: "trash-alt",
|
||||
icon: "trash-can",
|
||||
message: I18n.t("bookmarks.deleted_bookmark_success"),
|
||||
},
|
||||
});
|
||||
|
@ -251,7 +251,7 @@ export default class BookmarkMenu extends Component {
|
|||
<DropdownMenu as |dropdown|>
|
||||
{{#unless this.showEditDeleteMenu}}
|
||||
<dropdown.item class="bookmark-menu__title">
|
||||
{{icon "check-circle"}}
|
||||
{{icon "circle-check"}}
|
||||
<span>{{i18n "bookmarks.bookmarked_success"}}</span>
|
||||
</dropdown.item>
|
||||
{{/unless}}
|
||||
|
@ -262,7 +262,7 @@ export default class BookmarkMenu extends Component {
|
|||
data-menu-option-id="edit"
|
||||
>
|
||||
<DButton
|
||||
@icon="pencil-alt"
|
||||
@icon="pencil"
|
||||
@label="edit"
|
||||
@action={{this.onEditBookmark}}
|
||||
@class="bookmark-menu__row-btn btn-transparent"
|
||||
|
@ -275,7 +275,7 @@ export default class BookmarkMenu extends Component {
|
|||
data-menu-option-id="delete"
|
||||
>
|
||||
<DButton
|
||||
@icon="trash-alt"
|
||||
@icon="trash-can"
|
||||
@label="delete"
|
||||
@action={{this.onRemoveBookmark}}
|
||||
@class="bookmark-menu__row-btn btn-transparent btn-danger"
|
||||
|
|
|
@ -9,7 +9,7 @@ import {
|
|||
|
||||
@classNames("bulk-group-member-dropdown")
|
||||
@selectKitOptions({
|
||||
icon: "cog",
|
||||
icon: "gear",
|
||||
showFullTitle: false,
|
||||
})
|
||||
@pluginApiIdentifiers("bulk-group-member-dropdown")
|
||||
|
@ -22,7 +22,7 @@ export default class BulkGroupMemberDropdown extends DropdownSelectBoxComponent
|
|||
id: "removeMembers",
|
||||
name: I18n.t("groups.members.remove_members"),
|
||||
description: I18n.t("groups.members.remove_members_description"),
|
||||
icon: "user-times",
|
||||
icon: "user-xmark",
|
||||
});
|
||||
|
||||
if (this.bulkSelection.some((m) => !m.owner)) {
|
||||
|
@ -30,7 +30,7 @@ export default class BulkGroupMemberDropdown extends DropdownSelectBoxComponent
|
|||
id: "makeOwners",
|
||||
name: I18n.t("groups.members.make_owners"),
|
||||
description: I18n.t("groups.members.make_owners_description"),
|
||||
icon: "shield-alt",
|
||||
icon: "shield-halved",
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -39,7 +39,7 @@ export default class BulkGroupMemberDropdown extends DropdownSelectBoxComponent
|
|||
id: "removeOwners",
|
||||
name: I18n.t("groups.members.remove_owners"),
|
||||
description: I18n.t("groups.members.remove_owners_description"),
|
||||
icon: "shield-alt",
|
||||
icon: "shield-halved",
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ export default class BulkSelectTopicsDropdown extends Component {
|
|||
let options = [
|
||||
{
|
||||
id: "update-category",
|
||||
icon: "pencil-alt",
|
||||
icon: "pencil",
|
||||
name: i18n("topic_bulk_actions.update_category.name"),
|
||||
visible: ({ topics }) => {
|
||||
return !topics.some((t) => t.isPrivateMessage);
|
||||
|
@ -78,7 +78,7 @@ export default class BulkSelectTopicsDropdown extends Component {
|
|||
},
|
||||
{
|
||||
id: "archive-messages",
|
||||
icon: "archive",
|
||||
icon: "box-archive",
|
||||
name: i18n("topic_bulk_actions.archive_messages.name"),
|
||||
visible: ({ topics }) => topics.every((t) => t.isPrivateMessage),
|
||||
},
|
||||
|
@ -127,7 +127,7 @@ export default class BulkSelectTopicsDropdown extends Component {
|
|||
},
|
||||
{
|
||||
id: "delete-topics",
|
||||
icon: "trash-alt",
|
||||
icon: "trash-can",
|
||||
name: i18n("topic_bulk_actions.delete_topics.name"),
|
||||
visible: ({ currentUser }) => currentUser.staff,
|
||||
},
|
||||
|
|
|
@ -13,6 +13,6 @@ export default class CategoriesBoxesTopic extends Component {
|
|||
if (closed || archived) {
|
||||
return "lock";
|
||||
}
|
||||
return "far-file-alt";
|
||||
return "far-file-lines";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -28,11 +28,11 @@ export default class CategoryPermissionRow extends Component {
|
|||
}
|
||||
|
||||
get canCreateIcon() {
|
||||
return this.canCreate ? "check-square" : "far-square";
|
||||
return this.canCreate ? "square-check" : "far-square";
|
||||
}
|
||||
|
||||
get canReplyIcon() {
|
||||
return this.canReply ? "check-square" : "far-square";
|
||||
return this.canReply ? "square-check" : "far-square";
|
||||
}
|
||||
|
||||
get replyGrantedClass() {
|
||||
|
@ -138,7 +138,7 @@ export default class CategoryPermissionRow extends Component {
|
|||
{{/if}}
|
||||
</span>
|
||||
<span class="options actionable">
|
||||
<DButton @icon="check-square" @disabled={{true}} class="btn-flat see" />
|
||||
<DButton @icon="square-check" @disabled={{true}} class="btn-flat see" />
|
||||
|
||||
<DButton
|
||||
@icon={{this.canReplyIcon}}
|
||||
|
@ -162,7 +162,7 @@ export default class CategoryPermissionRow extends Component {
|
|||
<DButton
|
||||
class="remove-permission btn-flat"
|
||||
@action={{this.removeRow}}
|
||||
@icon="far-trash-alt"
|
||||
@icon="trash-can"
|
||||
/>
|
||||
</span>
|
||||
</div>
|
||||
|
|
|
@ -73,7 +73,7 @@
|
|||
<LinkToInput
|
||||
@onClick={{this.composer.displayEditReason}}
|
||||
@showInput={{this.composer.showEditReason}}
|
||||
@icon="info-circle"
|
||||
@icon="circle-info"
|
||||
class="display-edit-reason"
|
||||
>
|
||||
<TextField
|
||||
|
@ -274,9 +274,9 @@
|
|||
class="cancel"
|
||||
>
|
||||
{{#if this.composer.canEdit}}
|
||||
{{d-icon "times"}}
|
||||
{{d-icon "xmark"}}
|
||||
{{else}}
|
||||
{{d-icon "far-trash-alt"}}
|
||||
{{d-icon "trash-can"}}
|
||||
{{/if}}
|
||||
</a>
|
||||
{{else}}
|
||||
|
@ -342,7 +342,7 @@
|
|||
@action={{this.composer.togglePreview}}
|
||||
@title="composer.hide_preview"
|
||||
@ariaLabel="composer.hide_preview"
|
||||
@icon="pencil-alt"
|
||||
@icon="pencil"
|
||||
class="hide-preview"
|
||||
/>
|
||||
{{/if}}
|
||||
|
@ -368,7 +368,7 @@
|
|||
href
|
||||
id="cancel-file-upload"
|
||||
{{on "click" this.composer.cancelUpload}}
|
||||
>{{d-icon "times"}}</a>
|
||||
>{{d-icon "xmark"}}</a>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/if}}
|
||||
|
@ -387,9 +387,9 @@
|
|||
this.composer.model.draftConflictUser
|
||||
imageSize="small"
|
||||
}}
|
||||
{{d-icon "user-edit"}}
|
||||
{{d-icon "user-pen"}}
|
||||
{{else}}
|
||||
{{d-icon "exclamation-triangle"}}
|
||||
{{d-icon "triangle-exclamation"}}
|
||||
{{/if}}
|
||||
{{#if this.site.desktopView}}
|
||||
{{this.composer.model.draftStatus}}
|
||||
|
@ -402,7 +402,7 @@
|
|||
<DButton
|
||||
@action={{this.composer.togglePreview}}
|
||||
@translatedTitle={{this.composer.toggleText}}
|
||||
@icon="angle-double-left"
|
||||
@icon="angles-left"
|
||||
class={{concat-class
|
||||
"btn-transparent btn-mini-toggle toggle-preview"
|
||||
(unless this.composer.showPreview "active")
|
||||
|
|
|
@ -951,7 +951,7 @@ export default class ComposerEditor extends Component.extend(
|
|||
toolbar.addButton({
|
||||
id: "options",
|
||||
group: "extras",
|
||||
icon: "cog",
|
||||
icon: "gear",
|
||||
title: "composer.options",
|
||||
sendAction: this.onExpandPopupMenuOptions.bind(this),
|
||||
popupMenu: true,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<DButton
|
||||
@action={{@action}}
|
||||
@icon="times"
|
||||
@icon="xmark"
|
||||
@label="composer.esc"
|
||||
@ariaLabel="composer.esc_label"
|
||||
class="btn-transparent close"
|
||||
|
|
|
@ -28,7 +28,7 @@ export default class ComposerToggles extends Component {
|
|||
@discourseComputed("composeState")
|
||||
toggleIcon(composeState) {
|
||||
return composeState === "draft" || composeState === "saving"
|
||||
? "times"
|
||||
? "xmark"
|
||||
: "chevron-down";
|
||||
}
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<:tooltip>
|
||||
{{#if @disabled}}
|
||||
<DTooltip
|
||||
@icon="info-circle"
|
||||
@icon="circle-info"
|
||||
@content={{i18n "topic.create_disabled_category"}}
|
||||
/>
|
||||
{{/if}}
|
||||
|
|
|
@ -150,7 +150,7 @@ class Toolbar {
|
|||
this.addButton({
|
||||
id: "toggle-direction",
|
||||
group: "extras",
|
||||
icon: "exchange-alt",
|
||||
icon: "right-left",
|
||||
shortcut: "Shift+6",
|
||||
title: "composer.toggle_direction",
|
||||
preventFocus: true,
|
||||
|
|
|
@ -180,7 +180,7 @@ export default class DLightbox extends Component {
|
|||
}
|
||||
|
||||
get zoomButtonIcon() {
|
||||
return this.isZoomed ? "search-minus" : "search-plus";
|
||||
return this.isZoomed ? "magnifying-glass-minus" : "magnifying-glass-plus";
|
||||
}
|
||||
|
||||
@bind
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
<DButton
|
||||
{{on "click" @reloadImage passive=true capture=true}}
|
||||
@title="experimental_lightbox.buttons.redo"
|
||||
@icon="redo"
|
||||
@icon="arrow-rotate-right"
|
||||
class="d-lightbox__retry-button btn-flat"
|
||||
/>
|
||||
<span>{{i18n "experimental_lightbox.image_load_error"}}</span>
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
<DButton
|
||||
{{on "click" @rotateImage passive=true capture=true}}
|
||||
@title="experimental_lightbox.buttons.rotate"
|
||||
@icon="redo"
|
||||
@icon="arrow-rotate-right"
|
||||
@ariaHidden="true"
|
||||
aria-hidden="true"
|
||||
class="d-lightbox__rotate-button btn-flat"
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
<DButton
|
||||
{{on "click" @openInNewTab passive=true capture=true}}
|
||||
@title="experimental_lightbox.buttons.newtab"
|
||||
@icon="external-link-alt"
|
||||
@icon="up-right-from-square"
|
||||
@ariaHidden="true"
|
||||
aria-hidden="true"
|
||||
class="d-lightbox__new-tab-button btn-flat"
|
||||
|
@ -46,7 +46,7 @@
|
|||
<DButton
|
||||
{{on "click" @close passive=true capture=true}}
|
||||
@title="experimental_lightbox.buttons.close"
|
||||
@icon="times"
|
||||
@icon="xmark"
|
||||
@ariaHidden="true"
|
||||
class="d-lightbox__close-button btn-flat"
|
||||
/>
|
||||
|
|
|
@ -350,7 +350,7 @@ export default class DModal extends Component {
|
|||
</div>
|
||||
{{else if this.dismissable}}
|
||||
<DButton
|
||||
@icon="times"
|
||||
@icon="xmark"
|
||||
@action={{this.handleCloseButton}}
|
||||
@title="modal.close"
|
||||
class="btn-transparent modal-close"
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue