Revision d3f556c8
Ajout d'un affichage sur le dernier mois dans VigiGraph.
Suppression du svn:ignore sur vigigraph.js (fichier qui était auto-généré
lorsque qooxdoo était utilisé).
git-svn-id: https://vigilo-dev.si.c-s.fr/svn@7065 b22e2e97-25c9-44ff-b637-2e5ceca36478
vigigraph/controllers/rpc.py | ||
---|---|---|
68 | 68 |
{"caption" : _("Last %d days") % 2, "duration" : 192800}, |
69 | 69 |
{"caption" : _("Last %d days") % 7, "duration" : 604800}, |
70 | 70 |
{"caption" : _("Last %d days") % 14, "duration" : 1209600}, |
71 |
{"caption" : _("Last month") , "duration" : 86400 * 31}, |
|
71 | 72 |
{"caption" : _("Last %d months") % 3, "duration" : 86400 * 31 * 3}, |
72 | 73 |
{"caption" : _("Last %d months") % 6, "duration" : 86400 * 183}, |
73 | 74 |
{"caption" : _("Last year"), "duration" : 86400 * 365}, |
vigigraph/public/js/graph.js | ||
---|---|---|
42 | 42 |
[_('Last 48 hours'), 48], |
43 | 43 |
[_('Last 7 days'), 7*24], |
44 | 44 |
[_('Last 14 days'), 14*24], |
45 |
[_('Last month'), 30*24], |
|
45 | 46 |
[_('Last 3 months'), 3*30*24], |
46 | 47 |
[_('Last 6 months'), 6*30*24], |
47 | 48 |
[_('Last year'), 365*24] |
Also available in: Unified diff