[TASK] Show suited TYPO3 versions at distributions
[Packages/TYPO3.CMS.git] / typo3 / sysext / extensionmanager / Resources / Private / Partials / List / Distribution.html
1 {namespace em=TYPO3\CMS\Extensionmanager\ViewHelpers}
2 <div class="distribution">
3 <div class="distribution-image">
4 <f:if condition="{distribution.dependencies}">
5 <div class="typo3-dependency-version">
6 <em:typo3Dependency extension="{distribution}" />
7 </div>
8 </f:if>
9 <em:image
10 src="EXT:{distribution.extensionKey}/Resources/Public/Images/Distribution.png" alt="{distribution.title}"
11 fallbackImage="EXT:extensionmanager/Resources/Public/Images/Distribution.png"
12 height="225px"
13 width="300px"
14 />
15 <div class="distribution-hover">
16 <div class="distribution-hover-inner">
17 <dl class="dl-horizontal">
18 <dt><f:translate key="extensionList.distribution.title" /></dt>
19 <dd>{distribution.title}</dd>
20 <dt><f:translate key="extensionList.distribution.key" /></dt>
21 <dd>{distribution.extensionKey}</dd>
22 <dt><f:translate key="extensionList.distribution.version" /></dt>
23 <dd>{distribution.version} (<f:format.date format="d.m.Y">{distribution.lastUpdated}</f:format.date>)</dd>
24 <dt><f:translate key="extensionList.distribution.author" /></dt>
25 <dd>{distribution.authorName}</dd>
26 </dl>
27 <div class="distributionDescription">{distribution.description}</div>
28 </div>
29 </div>
30 </div>
31 <div class="distribution-meta">
32 <h2 class="distribution-title">
33 <f:link.action action="show" controller="Distribution" arguments="{extension:distribution}" class="distribution-more">
34 {distribution.title}
35 </f:link.action>
36 </h2>
37 <div class="distribution-install">
38 <f:link.action action="installDistribution" controller="Download" arguments="{extension:distribution}" class="btn btn-default t3-button-action-installdistribution">
39 <span class="fa fa-cloud-download">&nbsp;</span><f:translate key="extensionList.installDistribution">Install</f:translate>
40 </f:link.action>
41 <f:if condition="{official}">
42 <span class="label label-success">
43 <f:translate key="extensionList.officialDistribution">Official Distribution</f:translate>
44 </span>
45 </f:if>
46 </div>
47 </div>
48 </div>