Update Privacy Settings view, change button to Blocked Domains and add l10n

This commit is contained in:
Daniel Supernault 2023-12-16 17:04:16 -07:00
parent 60e053c936
commit 7016d19520
No known key found for this signature in database
GPG Key ID: 23740873EE6F76A1
2 changed files with 8 additions and 4 deletions

View File

@ -13,5 +13,9 @@ return [
'status.disabled.header' => 'Profile Unavailable',
'status.disabled.body' => 'Sorry, this profile is not available at the moment. Please try again shortly.',
'block.domain.max' => 'Max limit of domain blocks reached! You can only block :max domains at a time. Ask your admin to adjust this limit.'
'block.domain.max' => 'Max limit of domain blocks reached! You can only block :max domains at a time. Ask your admin to adjust this limit.',
'mutedAccounts' => 'Muted Accounts',
'blockedAccounts' => 'Blocked Accounts',
'blockedDomains' => 'Blocked Domains',
];

View File

@ -8,9 +8,9 @@
<hr>
<div class="form-group pb-1">
<p>
<a class="btn btn-link py-0 font-weight-bold" href="{{route('settings.privacy.muted-users')}}">Muted Accounts</a>
<a class="btn btn-link py-0 font-weight-bold" href="{{route('settings.privacy.blocked-users')}}">Blocked Accounts</a>
<a class="btn btn-link py-0 font-weight-bold" href="{{route('settings.privacy.domain-blocks')}}">Domain Blocks</a>
<a class="btn btn-link py-0 font-weight-bold" href="{{route('settings.privacy.muted-users')}}">{{ __('profile.mutedAccounts') }}</a>
<a class="btn btn-link py-0 font-weight-bold" href="{{route('settings.privacy.blocked-users')}}">{{ __('profile.blockedAccounts') }}</a>
<a class="btn btn-link py-0 font-weight-bold" href="{{route('settings.privacy.domain-blocks')}}">{{ __('profile.blockedDomains') }}</a>
</p>
</div>
<form method="post">