Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
services
t3o sites
extensions.typo3.org
extensions.typo3.org
Commits
518226a9
Commit
518226a9
authored
Nov 30, 2021
by
Thomas Löffler
Browse files
[TASK] Show "total downloads" text only if there are old downloads
parent
641c4801
Pipeline
#20203
passed with stages
in 5 minutes
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
extensions/ter_fe2/Resources/Private/Templates/Extension/Show.html
View file @
518226a9
...
...
@@ -132,10 +132,12 @@
<f:translate
key=
"downloads_by_month"
/>
<i
class=
"fas fa-info-circle"
data-placement=
"right"
data-toggle=
"tooltip"
title=
"Packagist downloads are fetched during the day and are not up-to-date."
></i>
</h4>
<p>
Total downloads (TER and Extension Manager) incl. November 2020:
<f:format.number
decimals=
"0"
thousandsSeparator=
","
>
{extension.oldDownloads}
</f:format.number>
</p>
<f:if
condition=
"{extension.oldDownloads}"
>
<p>
Total downloads (TER and Extension Manager) incl. November 2020:
<f:format.number
decimals=
"0"
thousandsSeparator=
","
>
{extension.oldDownloads}
</f:format.number>
</p>
</f:if>
<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>
"
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment