Fix translation key for deleted username

This commit is contained in:
dcsjapan 2016-04-07 20:50:35 +09:00
parent 4dc9e7741c
commit b068536dbd

View File

@ -9,7 +9,7 @@ $postsCount = count($discussion->relationships->posts->data);
@foreach ($posts as $post)
<div>
<?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">
{!! $post->attributes->contentHtml !!}
</div>