For demo mode, I hid the display of IP and UserAgent.

This commit is contained in:
2024-04-28 02:12:09 +05:00
parent 5703015874
commit 1532cecedc
2 changed files with 24 additions and 4 deletions

View File

@@ -25,8 +25,20 @@
<p><strong>{{ $item->type->getTitle() }}</strong></p>
</td>
<td>
<p><strong>IP:</strong> {{ $item->ip }}</p>
<p><strong>User Agent:</strong> {{ $item->user_agent }}</p>
<p><strong>IP:</strong>
@demo
<span style="border: 1px solid #ff1810; color: #ff1810; font-weight: bold; font-size: 18px; padding: 7px; text-align: center;">{{ __('Demo Mode') }}</span>
@else
{{ $item->ip }}
@endif
</p>
<p><strong>User Agent:</strong>
@demo
<span style="border: 1px solid #ff1810; color: #ff1810; font-weight: bold; font-size: 18px; padding: 7px; text-align: center;">{{ __('Demo Mode') }}</span>
@else
{{ $item->user_agent }}
@endif
</p>
<p><strong>referer:</strong> {{ $item->referer }}</p>
</td>
</tr>