Skip to content
This repository was archived by the owner on Sep 19, 2022. It is now read-only.

Commit 5affed4

Browse files
Merge pull request #43 from pavolpluta/view_3_months
Add view for 3 months
2 parents 9f20ee3 + cc0a835 commit 5affed4

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ All notable changes to this project will be documented in this file.
33

44
## [Unreleased]
55

6+
#### Added
7+
- Add statistics view for 3 months
8+
69
## [v4.2.2]
710
#### Fixed
811
- Allow to get SP name from UIInfo>DisplayName if isset

dictionaries/stats.definition.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@
2727
"en": "Last 30 days",
2828
"cs": "Posledních 30 dnů"
2929
},
30+
"time_range_three_months": {
31+
"en": "Last 3 months",
32+
"cs": "Poslední 3 měsíce"
33+
},
3034
"time_range_year": {
3135
"en": "Last year",
3236
"cs": "Poslední rok"

templates/timeRange-tpl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
}
2020
?>
2121
<?php
22-
$values = [0 => 'all', 7 => 'week', 30 => 'month', 365 => 'year'];
22+
$values = [0 => 'all', 7 => 'week', 30 => 'month', 90 => 'three_months', 365 => 'year'];
2323
$i = 0;
2424
?>
2525
<?php foreach ($values as $value => $str) : ?>

0 commit comments

Comments
 (0)