mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-59294 block_login: Make display of ID provider buttons consistent
This commit is contained in:
parent
7c482415a9
commit
56249d8710
@ -115,7 +115,7 @@ class block_login extends block_base {
|
||||
$this->content->text .= '<div class="potentialidplist">';
|
||||
foreach ($potentialidps as $idp) {
|
||||
$this->content->text .= '<div class="potentialidp">';
|
||||
$this->content->text .= '<a class="btn btn-secondary btn-block" ';
|
||||
$this->content->text .= '<a class="btn btn-default btn-block" ';
|
||||
$this->content->text .= 'href="' . $idp['url']->out() . '" title="' . s($idp['name']) . '">';
|
||||
if (!empty($idp['iconurl'])) {
|
||||
$this->content->text .= '<img src="' . s($idp['iconurl']) . '" width="24" height="24" class="m-r-1"/>';
|
||||
|
Loading…
x
Reference in New Issue
Block a user