chg: [deprecation] Show data in an easier to understand format

pull/5443/head
iglocska 2019-12-02 09:37:12 +01:00
parent f4b5aa7204
commit c6b5f44f84
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 13 additions and 2 deletions

View File

@ -9,8 +9,19 @@
'<div class="bold" style="margin-left:8px">%s</div>%s',
h($action),
sprintf(
'<div style="margin-left:16px;"><span class="bold">Total</span>: %s %s</div>',
h($userData['total']),
'<div style="margin-left:16px;"><span class="bold">%s</span>: %s %s</div>',
__('Total'),
sprintf(
'%s Users (%s requests)',
sprintf(
'<span class="bold red">%s</span>',
count($userData) -1
),
sprintf(
'<span class="red">%s</span>',
h($userData['total'])
)
),
sprintf(
'<i class="fas fa-plus-circle" role="button" aria-label="%s" data-toggle="collapse" data-target="#deprecationDetails%s%s"></i>',
__('View details on the usage of %s on the %s controller', h($action), h($controller)),