Browse Source

Replace leftover `envelope` icons with `at` icons (#18305)

closed-social-glitch-2
Stefano Pigozzi 2 years ago
committed by GitHub
parent
commit
99d7684dfd
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 6 deletions
  1. +1
    -1
      app/helpers/application_helper.rb
  2. +1
    -1
      app/helpers/statuses_helper.rb
  3. +1
    -1
      app/javascript/mastodon/components/status.js
  4. +1
    -1
      app/javascript/mastodon/features/status/components/detailed_status.js
  5. +1
    -1
      app/javascript/mastodon/features/ui/components/boost_modal.js
  6. +1
    -1
      app/views/statuses/_simple_status.html.haml

+ 1
- 1
app/helpers/application_helper.rb View File

@ -132,7 +132,7 @@ module ApplicationHelper
elsif status.private_visibility? || status.limited_visibility?
fa_icon('lock', title: I18n.t('statuses.visibilities.private'))
elsif status.direct_visibility?
fa_icon('envelope', title: I18n.t('statuses.visibilities.direct'))
fa_icon('at', title: I18n.t('statuses.visibilities.direct'))
end
end

+ 1
- 1
app/helpers/statuses_helper.rb View File

@ -101,7 +101,7 @@ module StatusesHelper
when 'private'
fa_icon 'lock fw'
when 'direct'
fa_icon 'envelope fw'
fa_icon 'at fw'
end
end

+ 1
- 1
app/javascript/mastodon/components/status.js View File

@ -468,7 +468,7 @@ class Status extends ImmutablePureComponent {
'public': { icon: 'globe', text: intl.formatMessage(messages.public_short) },
'unlisted': { icon: 'unlock', text: intl.formatMessage(messages.unlisted_short) },
'private': { icon: 'lock', text: intl.formatMessage(messages.private_short) },
'direct': { icon: 'envelope', text: intl.formatMessage(messages.direct_short) },
'direct': { icon: 'at', text: intl.formatMessage(messages.direct_short) },
};
const visibilityIcon = visibilityIconInfo[status.get('visibility')];

+ 1
- 1
app/javascript/mastodon/features/status/components/detailed_status.js View File

@ -185,7 +185,7 @@ class DetailedStatus extends ImmutablePureComponent {
'public': { icon: 'globe', text: intl.formatMessage(messages.public_short) },
'unlisted': { icon: 'unlock', text: intl.formatMessage(messages.unlisted_short) },
'private': { icon: 'lock', text: intl.formatMessage(messages.private_short) },
'direct': { icon: 'envelope', text: intl.formatMessage(messages.direct_short) },
'direct': { icon: 'at', text: intl.formatMessage(messages.direct_short) },
};
const visibilityIcon = visibilityIconInfo[status.get('visibility')];

+ 1
- 1
app/javascript/mastodon/features/ui/components/boost_modal.js View File

@ -88,7 +88,7 @@ class BoostModal extends ImmutablePureComponent {
'public': { icon: 'globe', text: intl.formatMessage(messages.public_short) },
'unlisted': { icon: 'unlock', text: intl.formatMessage(messages.unlisted_short) },
'private': { icon: 'lock', text: intl.formatMessage(messages.private_short) },
'direct': { icon: 'envelope', text: intl.formatMessage(messages.direct_short) },
'direct': { icon: 'at', text: intl.formatMessage(messages.direct_short) },
};
const visibilityIcon = visibilityIconInfo[status.get('visibility')];

+ 1
- 1
app/views/statuses/_simple_status.html.haml View File

@ -65,6 +65,6 @@
- elsif status.private_visibility? || status.limited_visibility?
= fa_icon 'lock fw'
- else
= fa_icon 'envelope fw'
= fa_icon 'at fw'
= link_to remote_interaction_path(status, type: :favourite), class: 'status__action-bar-button icon-button modal-button' do
= fa_icon 'star fw'

Loading…
Cancel
Save