Add privatized version of name #656 (#658)

This commit is contained in:
Nabeel S
2020-04-06 12:03:19 -04:00
committed by GitHub
parent 3c0cd34071
commit 40a94cb9ad
8 changed files with 49 additions and 17 deletions

View File

@@ -16,7 +16,7 @@
{{--</div>--}}
<div class="header header-primary text-center blue-bg">
<h3 class="title title-up text-white">
<a href="{{ route('frontend.profile.show', [$user->id]) }}" class="text-white">{{ $user->name }}</a>
<a href="{{ route('frontend.profile.show', [$user->id]) }}" class="text-white">{{ $user->name_private }}</a>
</h3>
<div class="photo-container">
@if ($user->avatar == null)

View File

@@ -13,7 +13,7 @@
</div>
<div><br/></div>
<div class="social-description">
<h2>{{ $user->name }}</h2>
<h2>{{ $user->name_private }}</h2>
<p>{{ $user->ident }}</p>
</div>
<p class="description" style="color: #9A9A9A;">

View File

@@ -23,7 +23,7 @@
</td>
<td>
<a href="{{ route('frontend.profile.show.public', [$user->id]) }}">
{{ $user->name }}
{{$user->ident}}&nbsp;{{ $user->name_private }}
</a>
</td>
<td align="center">

View File

@@ -11,7 +11,7 @@
@foreach($news as $item)
<h4 style="margin-top: 0px;">{{ $item->subject }}</h4>
<p class="category">{{ $item->user->name }}
<p class="category">{{ $item->user->name_private }}
- {{ show_datetime($item->created_at) }}</p>
{{ $item->body }}

View File

@@ -4,7 +4,7 @@
<td style="padding-right: 10px;">
<span class="title">{{ $u->ident }}</span>
</td>
<td>{{ $u->name }}</td>
<td>{{ $u->name_private }}</td>
</tr>
@endforeach
</table>