Skip to content

Commit

Permalink
Rename report template file names in camelCase
Browse files Browse the repository at this point in the history
  • Loading branch information
tzi committed May 30, 2013
1 parent 5e39f1c commit f64c762
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions core/ReportRenderer/Html.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,13 @@ public function getRenderedReport()

private function epilogue()
{
$view = new Piwik_View('@CoreHome/ReportRenderer/_html_report_footer');
$view = new Piwik_View('@CoreHome/ReportRenderer/_htmlReportFooter');
$this->rendering .= $view->render();
}

public function renderFrontPage($reportTitle, $prettyDate, $description, $reportMetadata)
{
$frontPageView = new Piwik_View('@CoreHome/ReportRenderer/_html_report_header');
$frontPageView = new Piwik_View('@CoreHome/ReportRenderer/_htmlReportHeader');
$this->assignCommonParameters($frontPageView);

// todo rename 'websiteName' to 'reportTitle' once branch twig is merged
Expand Down Expand Up @@ -114,7 +114,7 @@ private function assignCommonParameters(Piwik_View $view)

public function renderReport($processedReport)
{
$reportView = new Piwik_View('@CoreHome/ReportRenderer/_html_report_body');
$reportView = new Piwik_View('@CoreHome/ReportRenderer/_htmlReportBody');
$this->assignCommonParameters($reportView);

$reportMetadata = $processedReport['metadata'];
Expand Down
4 changes: 2 additions & 2 deletions core/View/ReportsByDimension.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*/

/**
* A facade that makes it easier to use the 'reports_by_dimension.twig' template.
* A facade that makes it easier to use the '_reportsByDimension.twig' template.
*
* This view will output HTML that displays a list of report names by category and
* loads them by AJAX when clicked. The loaded report is displayed to the right
Expand All @@ -23,7 +23,7 @@ class Piwik_View_ReportsByDimension extends Piwik_View
*/
public function __construct()
{
parent::__construct('@CoreHome/ReportsByDimension/reports_by_dimension');
parent::__construct('@CoreHome/ReportsByDimension/_reportsByDimension');
$this->dimensionCategories = array();
}

Expand Down

0 comments on commit f64c762

Please sign in to comment.