Skip to content

Commit

Permalink
adding proper title fixes bug 751166
Browse files Browse the repository at this point in the history
  • Loading branch information
Schalk Neethling authored and brandonsavage committed May 2, 2012
1 parent 1e4c2c6 commit dd3ad81
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion webapp-php/application/controllers/crash_trends.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ public function index() {
'version' => $params['version'],
'start_date' => $params['start_date'],
'end_date' => $params['end_date']);

$this->setViewData(array(
'product' => $params['product'],
'report_product' => $params['product'],
'version' => $params['version'],
'start_date' => $params['start_date'],
'end_date' => $params['end_date'],
Expand Down
5 changes: 4 additions & 1 deletion webapp-php/application/views/crash_trends/index.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<?php slot::start('head') ?>
<title>New Report for ...</title>
<?php
$report_for = $report_product . " " . $version;
?>
<title>Crash Trends Report For <?= $report_for ?></title>
<?php echo html::stylesheet(array(
'css/jquery-ui-1.8.16/flick/jquery-ui-1.8.16.custom.css',
'css/crash_trends.css'), 'screen')?>
Expand Down

0 comments on commit dd3ad81

Please sign in to comment.