1effe6b5a7819024cfbabe3cbe0558f78668474b
[Packages/TYPO3.CMS.git] / typo3 / sysext / extensionmanager / Resources / Private / Templates / Distribution / Show.html
1 {namespace em=TYPO3\CMS\Extensionmanager\ViewHelpers}
2 <f:layout name="main" />
3
4 <f:section name="docheader-buttons">
5 <f:be.buttons.icon uri="{f:uri.action(controller: 'List',action: 'distributions')}" icon="actions-view-go-back" title="{f:translate(key:'extConfTemplate.backToList')}" />
6 </f:section>
7
8 <f:section name="module-headline">
9 </f:section>
10
11 <f:section name="Content">
12 <f:flashMessages class="distribution-detail-flashmessage" renderMode="div" />
13 <div class="distribution-detail">
14 <div class="distribution-detail-previewpane">
15 <em:image
16 src="EXT:{extension.extensionKey}/Resources/Public/Images/DistributionWelcome.png" alt="{distribution.title}"
17 class="distribution-detail-preview"
18 />
19 </div>
20 <div class="distribution-detail-body">
21 <div class="distribution-detail-header">
22 <h1>{extension.title}</h1>
23 <p>{extension.description}</p>
24 </div>
25 <ul class="list-unstyled">
26 <f:if condition="{distributionActive}">
27 <f:else>
28 <li>
29 <f:link.action action="installDistribution" controller="Download" arguments="{extension:extension}" class="btn btn-default t3-button-action-installdistribution">
30 <f:be.buttons.icon icon="actions-system-extension-import" /><f:translate key="extensionList.installDistribution">Install</f:translate>
31 </f:link.action>
32 </li>
33 </f:else>
34 <f:then>
35 <f:if condition="{configurationLink}">
36 <li>
37 <a href="{configurationLink}" class="btn btn-default distribution-openViewModule " onclick="top.goToModule('web_ViewpageView');">
38 <f:be.buttons.icon icon="actions-system-extension-configure" /><f:translate key="extensionList.configure" />
39 </a>
40 </li>
41 </f:if>
42 <li>
43 <button class="btn btn-default distribution-openViewModule" onclick="top.goToModule('web_ViewpageView');">
44 <f:be.buttons.icon icon="actions-document-view" /><f:translate key="distribution.welcome.openViewModule" />
45 </button>
46 </li>
47 <li>
48 <button class="btn btn-default distribution-openPageModule" onclick="top.goToModule('web_page');">
49 <f:be.buttons.icon icon="actions-document-open" /><f:translate key="distribution.welcome.openPageModule" />
50 </button>
51 </li>
52 </f:then>
53 </f:if>
54 </ul>
55 <dl class="dl-horizontal dl-horizontal-wide distribution-detail-summary">
56 <dt><f:translate key="extensionList.distribution.title" /></dt>
57 <dd>{extension.title}</dd>
58 <dt><f:translate key="extensionList.distribution.key" /></dt>
59 <dd>{extension.extensionKey}</dd>
60 <dt><f:translate key="extensionList.distribution.version" /></dt>
61 <dd>{extension.version} (<f:format.date format="d.m.Y">{extension.lastUpdated}</f:format.date>)<br><span class="{extension.stateString}">{extension.stateString}</span></dd>
62 <dt><f:translate key="extensionList.distribution.author" /></dt>
63 <dd>{extension.authorName}</dd>
64 <dt><f:translate key="extensionList.distribution.downloads" /></dt>
65 <dd>{extension.alldownloadcounter}</dd>
66 </dl>
67 <f:if condition="{extension.dependencies}">
68 <h2><f:translate key="distribution.dependency.headline" /></h2>
69 <table class="table table-striped table-hover">
70 <thead>
71 <tr class="t3-row-header">
72 <td><f:translate key="distribution.dependency.identifier" /></td>
73 <td><f:translate key="distribution.dependency.type" /></td>
74 <td><f:translate key="distribution.dependency.version" /></td>
75 </tr>
76 </thead>
77 <tbody>
78 <f:for each="{extension.dependencies}" as="dependency">
79 <tr>
80 <td>{dependency.identifier}</td>
81 <td>{dependency.type}</td>
82 <td>
83 {dependency.lowestVersion}<f:if condition="{dependency.highestVersion}">-{dependency.highestVersion}</f:if>
84 </td>
85 </tr>
86 </f:for>
87 </tbody>
88 </table>
89 </f:if>
90 </div>
91 </div>
92 </f:section>