From 66919577e865377bf51835abe86416a2a30aa3c6 Mon Sep 17 00:00:00 2001 From: "zyn on thu.closed.social" Date: Thu, 17 Oct 2019 17:49:29 +0000 Subject: [PATCH] change some icon of fav/rep --- app/javascript/mastodon/components/status_action_bar.js | 6 +++--- .../mastodon/features/favourited_statuses/index.js | 2 +- .../mastodon/features/status/components/action_bar.js | 6 +++--- .../mastodon/features/status/components/detailed_status.js | 4 ++-- app/views/statuses/_detailed_status.html.haml | 6 +++--- app/views/statuses/_simple_status.html.haml | 6 +++--- 6 files changed, 15 insertions(+), 15 deletions(-) diff --git a/app/javascript/mastodon/components/status_action_bar.js b/app/javascript/mastodon/components/status_action_bar.js index 0bfbd88794..ac31fb1374 100644 --- a/app/javascript/mastodon/components/status_action_bar.js +++ b/app/javascript/mastodon/components/status_action_bar.js @@ -236,10 +236,10 @@ class StatusActionBar extends ImmutablePureComponent { } if (status.get('in_reply_to_id', null) === null) { - replyIcon = 'reply'; + replyIcon = 'comment'; replyTitle = intl.formatMessage(messages.reply); } else { - replyIcon = 'reply-all'; + replyIcon = 'comments'; replyTitle = intl.formatMessage(messages.replyAll); } @@ -251,7 +251,7 @@ class StatusActionBar extends ImmutablePureComponent {
{obfuscatedCount(status.get('replies_count'))}
- + {shareButton}
diff --git a/app/javascript/mastodon/features/favourited_statuses/index.js b/app/javascript/mastodon/features/favourited_statuses/index.js index db8a3f815f..fb7c2bd58a 100644 --- a/app/javascript/mastodon/features/favourited_statuses/index.js +++ b/app/javascript/mastodon/features/favourited_statuses/index.js @@ -76,7 +76,7 @@ class Favourites extends ImmutablePureComponent { return (
-
+
{shareButton}
diff --git a/app/javascript/mastodon/features/status/components/detailed_status.js b/app/javascript/mastodon/features/status/components/detailed_status.js index e97f18f08c..b5a939dc40 100644 --- a/app/javascript/mastodon/features/status/components/detailed_status.js +++ b/app/javascript/mastodon/features/status/components/detailed_status.js @@ -190,7 +190,7 @@ export default class DetailedStatus extends ImmutablePureComponent { if (this.context.router) { favouriteLink = ( - + @@ -199,7 +199,7 @@ export default class DetailedStatus extends ImmutablePureComponent { } else { favouriteLink = ( - + diff --git a/app/views/statuses/_detailed_status.html.haml b/app/views/statuses/_detailed_status.html.haml index 5cee84ada8..98e11e9a0b 100644 --- a/app/views/statuses/_detailed_status.html.haml +++ b/app/views/statuses/_detailed_status.html.haml @@ -55,9 +55,9 @@ · = link_to remote_interaction_path(status, type: :reply), class: 'modal-button detailed-status__link' do - if status.in_reply_to_id.nil? - = fa_icon('reply') + = fa_icon('comment') - else - = fa_icon('reply-all') + = fa_icon('comments') %span.detailed-status__reblogs>= number_to_human status.replies_count, strip_insignificant_zeros: true = " " · @@ -74,7 +74,7 @@ = " " · = link_to remote_interaction_path(status, type: :favourite), class: 'modal-button detailed-status__link' do - = fa_icon('star') + = fa_icon('thumbs-up') %span.detailed-status__favorites>= number_to_human status.favourites_count, strip_insignificant_zeros: true = " " diff --git a/app/views/statuses/_simple_status.html.haml b/app/views/statuses/_simple_status.html.haml index a68fe10220..0ec173b4c6 100644 --- a/app/views/statuses/_simple_status.html.haml +++ b/app/views/statuses/_simple_status.html.haml @@ -49,9 +49,9 @@ .status__action-bar__counter = link_to remote_interaction_path(status, type: :reply), class: 'status__action-bar-button icon-button modal-button', style: 'font-size: 18px; width: 23.1429px; height: 23.1429px; line-height: 23.15px;' do - if status.in_reply_to_id.nil? - = fa_icon 'reply fw' + = fa_icon 'comment fw' - else - = fa_icon 'reply-all fw' + = fa_icon 'comments fw' .status__action-bar__counter__label= obscured_counter status.replies_count = link_to remote_interaction_path(status, type: :reblog), class: 'status__action-bar-button icon-button modal-button', style: 'font-size: 18px; width: 23.1429px; height: 23.1429px; line-height: 23.15px;' do - if status.distributable? @@ -61,4 +61,4 @@ - else = fa_icon 'envelope fw' = link_to remote_interaction_path(status, type: :favourite), class: 'status__action-bar-button icon-button modal-button', style: 'font-size: 18px; width: 23.1429px; height: 23.1429px; line-height: 23.15px;' do - = fa_icon 'star fw' + = fa_icon 'thumbs-up fw'