mirror of
https://github.com/friendica/friendica
synced 2024-11-17 23:43:40 +00:00
Change label of mention-button
* "Mention" on users profile * "Post to group" on group/forums profile
This commit is contained in:
parent
9f2d2d4ac1
commit
ed9d20b291
2 changed files with 6 additions and 1 deletions
|
@ -68,6 +68,7 @@ class VCard
|
|||
$follow_link = '';
|
||||
$unfollow_link = '';
|
||||
$wallmessage_link = '';
|
||||
$showforum_link = '';
|
||||
|
||||
$photo = Contact::getPhoto($contact);
|
||||
|
||||
|
@ -119,6 +120,10 @@ class VCard
|
|||
'$unfollow_link' => $unfollow_link,
|
||||
'$wallmessage' => DI::l10n()->t('Message'),
|
||||
'$wallmessage_link' => $wallmessage_link,
|
||||
'$showforum' => DI::l10n()->t('Show forum'),
|
||||
'$showforum_link' => $showforum_link,
|
||||
'$mentioning' => DI::l10n()->t('Mention'),
|
||||
'$post2group' => DI::l10n()->t('Post to group'),
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -60,7 +60,7 @@
|
|||
<div id="mention-link-button">
|
||||
<button type="button" id="mention-link" class="btn btn-labeled btn-primary{{if !$always_open_compose}} modal-open{{/if}}" onclick="openWallMessage('compose/0?body={{if $contact.forum==1}}!{{else}}@{{/if}}{{$contact.addr}}')">
|
||||
<span class=""><i class="fa fa-pencil-square-o"></i></span>
|
||||
<span class="">{{$mentioning}}</span>
|
||||
<span class="">{{if $contact.forum==1}}{{$post2group}}{{else}}{{$mentioning}}{{/if}}</span>
|
||||
</button>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
|
Loading…
Reference in a new issue