MDL-63487 badges: Style "◀ Award badge" and "Revoke badge ▶" buttons

This commit is contained in:
Luca Bösch 2018-09-29 12:56:22 +02:00
parent 8907290a46
commit 2e477f03cc

View File

@ -113,13 +113,13 @@ class core_badges_renderer extends plugin_renderer_base {
'type' => 'submit',
'name' => 'award',
'value' => $this->output->larrow() . ' ' . get_string('award', 'badges'),
'class' => 'actionbutton')
'class' => 'actionbutton btn btn-secondary')
);
$actioncell->text .= html_writer::empty_tag('input', array(
'type' => 'submit',
'name' => 'revoke',
'value' => get_string('revoke', 'badges') . ' ' . $this->output->rarrow(),
'class' => 'actionbutton')
'class' => 'actionbutton btn btn-secondary')
);
$actioncell->text .= html_writer::end_tag('div', array());
$actioncell->attributes['class'] = 'actions';