Commit c73d0b86 authored by Thomas Löffler's avatar Thomas Löffler

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

Due to color, see services/t3o-sites/common/t3olayout#643

Relates: #509
parent 708082a1
Pipeline #10456 passed with stages
in 5 minutes and 57 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