Commit 2ccd13be authored by Stefan Busemann's avatar Stefan Busemann
Browse files

Merge branch 'task/add-last-sync-to-charts' into 'develop'

[TASK] Add last sync info to charts footer and change orange color

See merge request !647
parents 3130da2a c73d0b86
Pipeline #10488 passed with stages
in 6 minutes and 46 seconds
......@@ -132,6 +132,7 @@
</p>
<script type="text/javascript">
var versionChartData = {extension.downloadsByTimeIntervalAsJson -> f:format.raw()};
var versionChartLastSync = "<f:format.date format='%B %d, %I:%M %P %Z'>{extension.lastDownloadSync}</f:format.date>";
</script>
<div id="versionChart">
......
......@@ -15,6 +15,10 @@ jQuery(document).ready(function ($) {
chart: {
type: 'column'
},
credits: {
text: 'Last packagist sync: ' + versionChartLastSync,
href: "https://packagist.org/"
},
title: {
text: 'Downloads by months'
},
......@@ -51,7 +55,7 @@ jQuery(document).ready(function ($) {
},
{
name: 'TER',
color: '#f49700',
color: '#ff8700',
data: versionChartData.downloadsTER
},
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment