Commit 826d7756 authored by alexpott's avatar alexpott

Issue #2347533 by Désiré: Added Display module machine names on the extend page.

parent 24bc9952
......@@ -236,8 +236,9 @@ function theme_system_modules_details($variables) {
// Add the description, along with any modules it requires.
$description = '';
$description .= '<div class="requirements">';
$description .= '<div class="admin-requirements">' . t('Machine name: !key', array('!key' => $key)) . '</div>';
if ($version || $requires || $required_by) {
$description .= ' <div class="requirements">';
if ($version) {
$description .= '<div class="admin-requirements">' . t('Version: !module-version', array('!module-version' => drupal_render($module['version']))) . '</div>';
}
......@@ -247,8 +248,8 @@ function theme_system_modules_details($variables) {
if ($required_by) {
$description .= '<div class="admin-requirements">' . t('Required by: !module-list', array('!module-list' => implode(', ', $module['#required_by']))) . '</div>';
}
$description .= '</div>';
}
$description .= '</div>';
$links = '';
foreach (array('help', 'permissions', 'configure') as $key) {
$links .= drupal_render($module['links'][$key]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment