diff --git a/admin/tool/profiling/index.php b/admin/tool/profiling/index.php index d8dc841046a..e2173761349 100644 --- a/admin/tool/profiling/index.php +++ b/admin/tool/profiling/index.php @@ -52,9 +52,9 @@ if ($listurl) { } // Add a new nav item to make $listurl clickable for the Boost theme. -if (isset($script)) { - $lastrunnav = get_string('lastrun', 'tool_profiling'); - $PAGE->navbar->add($lastrunnav); +if (isset($script) || isset($runid)) { + $detailnav = get_string('detailview', 'tool_profiling'); + $PAGE->navbar->add($detailnav); } // Header diff --git a/admin/tool/profiling/lang/en/tool_profiling.php b/admin/tool/profiling/lang/en/tool_profiling.php index 14e8c7b0d37..4390fddefc6 100644 --- a/admin/tool/profiling/lang/en/tool_profiling.php +++ b/admin/tool/profiling/lang/en/tool_profiling.php @@ -31,6 +31,7 @@ $string['cannotfindanyrunforurl'] = 'Sorry, cannot find any profiling run for th $string['cannotfindanyrunforrunid'] = 'Sorry, cannot find the \'{$a}\' profiling run'; $string['comment'] = 'Comment'; $string['cputime'] = 'CPU time'; +$string['detailview'] = 'Summary of run'; $string['differencesbetween2runsof'] = 'Differences between 2 runs of {$a}'; $string['executiontime'] = 'Execution time'; $string['export'] = 'Export'; @@ -41,7 +42,6 @@ $string['importok'] = 'File "{$a}" imported successfully.'; $string['importprefix'] = 'Import prefix'; $string['importproblem'] = 'Some problem happened importing the file "{$a}".'; $string['lastrunof'] = 'Summary of last run of {$a}'; -$string['lastrun'] = 'Summary of last run'; $string['markreferencerun'] = 'Mark as reference run/comment'; $string['memory'] = 'Memory used'; $string['pluginname'] = 'Profiling runs';