MDL-73554 core: Update usermenu metadata display

This commit is contained in:
Mathew May 2022-01-17 15:09:06 +08:00
parent e78184d827
commit 1cb3cb375d
2 changed files with 2 additions and 2 deletions

View file

@ -47,7 +47,7 @@
}
}}
{{#metadata}}
<span class="usertext d-flex mr-1">
<span class="usertext d-flex mr-3">
<span class="meta d-flex {{classes}}">
{{{content}}}
</span>

View file

@ -842,7 +842,7 @@ function user_get_user_navigation_info($user, $page, $options = array()) {
// Get login failures string.
$a = new stdClass();
$a->attempts = html_writer::tag('span', $count, array('class' => 'value'));
$a->attempts = html_writer::tag('span', $count, array('class' => 'value mr-1 font-weight-bold'));
$returnobject->metadata['userloginfail'] =
get_string('failedloginattempts', '', $a);