add link on dashboard report to plugin config

This commit is contained in:
Jean-Christian Denis 2021-09-03 23:59:50 +02:00
parent bc886c44eb
commit bdb0347a37

View file

@ -82,8 +82,15 @@ class activityReportAdmin
'<div id="activity-report-logs" class="box medium">' .
'<h3>' . __('Activity report') . '</h3>' .
'<dl id="reports">' . implode('', $lines) . '</dl>' .
'<p><a href="'.$core->adminurl->get('admin.plugin.activityReport') .'">' .
__('View all logs') . '</a></p>' .
'<p class="modules"><a class="module-details" href="'.
$core->adminurl->get('admin.plugin.activityReport') .'">' .
__('View all logs') . '</a> - <a class="module-config" href="'.
$core->adminurl->get('admin.plugins', [
'module' => 'activityReport',
'conf' => 1,
'redir' => $core->adminurl->get('admin.home').'#activity-report-logs'
]) .'">' .
__('Configure plugin') . '</a></p>' .
'</div>'
]);
}