mirror of
https://github.com/flarum/framework.git
synced 2025-03-06 18:21:46 +08:00
Merge pull request #919 from dcsjapan/fix-deleted-username
Fix translation key for deleted username
This commit is contained in:
commit
8673a0bc2d
@ -9,7 +9,7 @@ $postsCount = count($discussion->relationships->posts->data);
|
|||||||
@foreach ($posts as $post)
|
@foreach ($posts as $post)
|
||||||
<div>
|
<div>
|
||||||
<?php $user = $getResource($post->relationships->user->data); ?>
|
<?php $user = $getResource($post->relationships->user->data); ?>
|
||||||
<h3>{{ $user ? $user->attributes->username : $translator->trans('core.lib.deleted_user_text') }}</h3>
|
<h3>{{ $user ? $user->attributes->username : $translator->trans('core.lib.username.deleted_text') }}</h3>
|
||||||
<div class="Post-body">
|
<div class="Post-body">
|
||||||
{!! $post->attributes->contentHtml !!}
|
{!! $post->attributes->contentHtml !!}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user