mention if a user is blocked in the admin panel user overview

2022.09-rc
Tobias Diekershoff 2018-07-30 17:19:22 +02:00
rodzic be7a2beab0
commit 0257f410d5
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -1881,6 +1881,7 @@ function admin_page_users(App $a)
'$deny' => L10n::t('Deny'), '$deny' => L10n::t('Deny'),
'$delete' => L10n::t('Delete'), '$delete' => L10n::t('Delete'),
'$block' => L10n::t('Block'), '$block' => L10n::t('Block'),
'$blocked' => L10n::t('User blocked'),
'$unblock' => L10n::t('Unblock'), '$unblock' => L10n::t('Unblock'),
'$siteadmin' => L10n::t('Site admin'), '$siteadmin' => L10n::t('Site admin'),
'$accountexpired' => L10n::t('Account expired'), '$accountexpired' => L10n::t('Account expired'),

Wyświetl plik

@ -85,7 +85,7 @@
<td class='register_date'>{{$u.register_date}}</td> <td class='register_date'>{{$u.register_date}}</td>
<td class='login_date'>{{$u.login_date}}</td> <td class='login_date'>{{$u.login_date}}</td>
<td class='lastitem_date'>{{$u.lastitem_date}}</td> <td class='lastitem_date'>{{$u.lastitem_date}}</td>
<td class='login_date'>{{$u.page_flags}} {{if $u.is_admin}}({{$siteadmin}}){{/if}} {{if $u.account_expired}}({{$accountexpired}}){{/if}}</td> <td class='login_date'>{{$u.page_flags}} {{if $u.is_admin}}({{$siteadmin}}){{/if}} {{if $u.account_expired}}({{$accountexpired}}){{/if}} {{if $u.blocked}}{{$blocked}}{{/if}}</td>
<td class="checkbox"> <td class="checkbox">
{{if $u.is_deletable}} {{if $u.is_deletable}}
<input type="checkbox" class="users_ckbx" id="id_user_{{$u.uid}}" name="user[]" value="{{$u.uid}}"/></td> <input type="checkbox" class="users_ckbx" id="id_user_{{$u.uid}}" name="user[]" value="{{$u.uid}}"/></td>