#606190 follow-up by rschwab, dww, Bojhan: Better workflow links in update manager.
parent
35a08a6780
commit
6c881d9c5a
|
@ -140,12 +140,13 @@ if (authorize_access_allowed()) {
|
|||
if (is_array($results['tasks'])) {
|
||||
$links += $results['tasks'];
|
||||
}
|
||||
|
||||
$links = array_merge($links, array(
|
||||
l(t('Administration pages'), 'admin'),
|
||||
l(t('Front page'), '<front>'),
|
||||
));
|
||||
|
||||
else {
|
||||
$links = array_merge($links, array(
|
||||
l(t('Administration pages'), 'admin'),
|
||||
l(t('Front page'), '<front>'),
|
||||
));
|
||||
}
|
||||
|
||||
$output .= theme('item_list', array('items' => $links, 'title' => t('Next steps')));
|
||||
}
|
||||
// If a batch is running, let it run.
|
||||
|
|
|
@ -77,6 +77,7 @@ class ModuleUpdater extends Updater implements DrupalUpdaterInterface {
|
|||
public function postInstallTasks() {
|
||||
return array(
|
||||
l(t('Enable newly added modules'), 'admin/modules'),
|
||||
l(t('Administration pages'), 'admin'),
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -146,6 +147,7 @@ class ThemeUpdater extends Updater implements DrupalUpdaterInterface {
|
|||
public function postInstallTasks() {
|
||||
return array(
|
||||
l(t('Set the !project theme as default', array('!project' => $this->title)), 'admin/appearance'),
|
||||
l(t('Administration pages'), 'admin'),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue