// Code review
This commit is contained in:
@@ -86,7 +86,7 @@ class Dashactivity extends Module
|
||||
$this->context->smarty->assign(array_merge(array(
|
||||
'gapi_mode' => $gapi_mode,
|
||||
'dashactivity_config_form' => $this->renderConfigForm(),
|
||||
'date_subtitle' => $this->l('from %s to %s'),
|
||||
'date_subtitle' => $this->l('(from %s to %s)'),
|
||||
'date_format' => $this->context->language->date_format_lite
|
||||
), $this->getConfigFieldsValues()));
|
||||
return $this->display(__FILE__, 'dashboard_zone_one.tpl');
|
||||
|
||||
@@ -103,7 +103,7 @@ Date.prototype.format = function(format) {
|
||||
|
||||
$(document).ready(function() {
|
||||
if (date_subtitle === undefined)
|
||||
date_subtitle = 'From %s to %s';
|
||||
date_subtitle = '(from %s to %s)';
|
||||
|
||||
if (date_format === undefined)
|
||||
date_format = 'Y-m-d';
|
||||
|
||||
@@ -158,7 +158,7 @@
|
||||
{if $gapi_mode}
|
||||
<li>
|
||||
<span class="data_label">
|
||||
<a href="{$link->getAdminLink('AdminModules')}&{$gapi_mode}=gapi"><img src="../modules/gapi/logo.gif" width="16" height="16" /> {l s="Connect to Google Analytics API" mod="dashactivity"}</a>
|
||||
<a href="{$link->getAdminLink('AdminModules')}&{$gapi_mode}=gapi"><img src="../modules/gapi/logo.gif" width="16" height="16" /> {l s="Link to your Google Analytics account" mod="dashactivity"}</a>
|
||||
</span>
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user