mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-73554 core: Update usermenu metadata display
This commit is contained in:
parent
e78184d827
commit
1cb3cb375d
2 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue