From 2636b191710a78abf3cf1540c6f3c2179f94607e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakobus=20Sch=C3=BCrz?= Date: Sat, 7 Oct 2023 10:44:53 +0200 Subject: [PATCH] add blanks, suggested from codereview --- src/Content/Widget/VCard.php | 6 +++--- src/Model/Profile.php | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Content/Widget/VCard.php b/src/Content/Widget/VCard.php index b325a7db1..d57f7130f 100644 --- a/src/Content/Widget/VCard.php +++ b/src/Content/Widget/VCard.php @@ -105,10 +105,10 @@ class VCard $mention_label = DI::l10n()->t('Post to group'); $mention_url = 'compose/0?body=!' . $contact['addr']; $showgroup_label = DI::l10n()->t('View group'); - $showgroup_url = 'network/group/' . $id; + $showgroup_url = 'network/group/' . $id; } else { - $mention_label = DI::l10n()->t('Mention'); - $mention_url = 'compose/0?body=@' . $contact['addr']; + $mention_label = DI::l10n()->t('Mention'); + $mention_url = 'compose/0?body=@' . $contact['addr']; } } diff --git a/src/Model/Profile.php b/src/Model/Profile.php index 0aa44c673..c2b21e904 100644 --- a/src/Model/Profile.php +++ b/src/Model/Profile.php @@ -455,14 +455,14 @@ class Profile if ($profile['account-type'] == Contact::TYPE_COMMUNITY) { $mention_label = DI::l10n()->t('Post to group'); - $mention_url = 'compose/0?body=!' . $profile['addr']; + $mention_url = 'compose/0?body=!' . $profile['addr']; $network_label = DI::l10n()->t('View group'); - $network_url = 'network/group/' . $profile['id']; + $network_url = 'network/group/' . $profile['id']; } else { $mention_label = DI::l10n()->t('Mention'); - $mention_url = 'compose/0?body=@' . $profile['addr']; + $mention_url = 'compose/0?body=@' . $profile['addr']; $network_label = DI::l10n()->t('Network Posts'); - $network_url = 'contact/' . $profile['id'] . '/conversations'; + $network_url = 'contact/' . $profile['id'] . '/conversations'; } $tpl = Renderer::getMarkupTemplate('profile/vcard.tpl');