Commit de10fcbc authored by Oliver Bartsch's avatar Oliver Bartsch

Merge branch 'develop' of...

Merge branch 'develop' of ssh://gitlab.typo3.org:2222/services/t3o-sites/extensions.typo3.org/ter into 511-ter-rest-api-generates-notification-emails-with-no-linebreaks
parents 0b5361f9 2ccd13be
Pipeline #10489 passed with stages
in 3 minutes and 10 seconds
......@@ -14,7 +14,7 @@
</thead>
<tbody>
<f:for each="{versionHistory}" as="version">
<tr{f:if(condition:'{version} == {version.extension.lastVersion} && {version.reviewState} != -1',then:' class="table-success"')}{f:if(condition:'{version.reviewState} == -1',then:' class="table-danger"')}>
<tr id="v{version.versionString}"{f:if(condition:'{version} == {version.extension.lastVersion} && {version.reviewState} != -1',then:' class="table-success"')}{f:if(condition:'{version.reviewState} == -1',then:' class="table-danger"')} >
<td class="align-middle text-center">
<f:form.checkbox name="insecureVersions[]" value="{version.uid}" checked="{version.reviewState} == -1" />
</td>
......@@ -87,7 +87,7 @@
</thead>
<tbody>
<f:for each="{versionHistory}" as="version">
<tr{f:if(condition:'{version} == {version.extension.lastVersion} && {version.reviewState} != -1',then:' class="table-success"')}{f:if(condition:'{version.reviewState} == -1',then:' class="table-danger"')}>
<tr id="v{version.versionString}" {f:if(condition:'{version} == {version.extension.lastVersion} && {version.reviewState} != -1',then:' class="table-success"')}{f:if(condition:'{version.reviewState} == -1',then:' class="table-danger"')}>
<td class="align-middle">
<strong>{version.versionString}</strong> /
<span class="ter-ext-state-{version.state}">{version.state}</span>
......
......@@ -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