Audit log: Added IP address wrapping

Primarily to support long ipv6 addresses which would overflow over the
activity date.
For #4349
This commit is contained in:
Dan Brown 2023-07-05 11:37:49 +01:00
parent 96819b7bd9
commit eb2c5d00cb
No known key found for this signature in database
GPG key ID: 46D9F943C24A2EF9

View file

@ -111,11 +111,11 @@
<div>{{ $activity->detail }}</div>
@endif
</div>
<div class="flex-container-row flex-3">
<div class="flex px-m py-xxs min-width-xs"><strong
<div class="flex-container-row flex-3 min-width-m">
<div class="flex-2 px-m py-xxs min-width-xs break-text"><strong
class="mr-xs hide-over-m">{{ trans('settings.audit_table_ip') }}
:<br></strong> {{ $activity->ip }}</div>
<div class="flex-2 px-m py-xxs text-m-right min-width-xs"><strong
<div class="flex-3 px-m py-xxs text-m-right min-width-xs"><strong
class="mr-xs hide-over-m">{{ trans('settings.audit_table_date') }}
:<br></strong> {{ $activity->created_at }}</div>
</div>