MDL-65549 tool_analytics: Reduce the context name length in models_view

This commit is contained in:
David Monllaó
2019-05-21 17:26:22 +02:00
parent a866c5c238
commit 8d19264bc0
@@ -181,7 +181,7 @@ class models_list implements \renderable, \templatable {
if ($contextid == SYSCONTEXTID) {
$contextname = get_string('allpredictions', 'tool_analytics');
} else {
$contextname = shorten_text($context->get_context_name(true, true), 90);
$contextname = shorten_text($context->get_context_name(false, true), 40);
}
$predictioncontexts[$contextid] = $contextname;
}