diff --git a/config/autoload/local.php.dist b/config/autoload/local.php.dist
index ea8ef1f..6937944 100644
--- a/config/autoload/local.php.dist
+++ b/config/autoload/local.php.dist
@@ -9,6 +9,8 @@
return [
'app.config' => [
+ 'numberOfWeeks' => 25,
+
'jira.user' => '',
'jira.password' => '',
'jira.query.filtered' => 'https://jirapducc.mo.ca.am.ericsson.se/rest/api/2/search?maxResults=1000&jql=filter=%s&fields=created,resolutiondate',
diff --git a/src/App/Service/JiraCollectorService.php b/src/App/Service/JiraCollectorService.php
index 84bcfb6..7f11cc8 100644
--- a/src/App/Service/JiraCollectorService.php
+++ b/src/App/Service/JiraCollectorService.php
@@ -118,7 +118,7 @@ class JiraCollectorService
private function prepareWeekHash(): array
{
$hash = [];
- for ($i = 0; $i > -30; $i-- ) {
+ for ($i = 0; $i > -$this->config->get('numberOfWeeks', 25); $i-- ) {
$hashIndex = date("Y_W", strtotime("${i} week"));
$hash[$hashIndex] = new WeekData();
}
diff --git a/templates/layout/default.phtml b/templates/layout/default.phtml
index 11a3db2..f26b199 100644
--- a/templates/layout/default.phtml
+++ b/templates/layout/default.phtml
@@ -12,6 +12,7 @@
.app { display: flex; min-height: 100vh; flex-direction: column; }
.app-content { flex: 1; }
.app-footer { padding-bottom: 1em; }
+ .right { float: right; }
.zf-green, h2 a { color: #68b604; }
=$this->section('stylesheets')?>
@@ -27,9 +28,10 @@
-
+
+
@@ -61,7 +64,8 @@
=$this->section('footer')?>
- © 2005 - =date('Y')?> by Zend Technologies Ltd. All rights reserved. + Running on PHP=PHP_VERSION?> + Feasting on =ceil(memory_get_peak_usage()/1024/1024)?>MB of your precious RAM