Skip to content

Commit

Permalink
Merge branch 'MDL-66644-master-versionrequires' of git://github.com/m…
Browse files Browse the repository at this point in the history
…udrd8mz/moodle
  • Loading branch information
junpataleta committed Sep 25, 2019
2 parents e5e95d9 + ac0a4b5 commit 84e66f0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions admin/renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -1469,9 +1469,11 @@ protected function required_column(\core\plugininfo\base $plugin, core_plugin_ma
$class = 'requires-failed';
$label = html_writer::span(get_string('dependencyfails', 'core_plugin'), 'badge badge-danger');
}
$requires[] = html_writer::tag('li',
html_writer::span(get_string('moodleversion', 'core_plugin', $plugin->versionrequires), 'dep dep-core').
' '.$label, array('class' => $class));
if ($reqinfo->reqver != ANY_VERSION) {
$requires[] = html_writer::tag('li',
html_writer::span(get_string('moodleversion', 'core_plugin', $plugin->versionrequires), 'dep dep-core').
' '.$label, array('class' => $class));
}

} else {
$actions = array();
Expand Down

0 comments on commit 84e66f0

Please sign in to comment.