536d0a181b6587596c34338bb6b3c376a84ee578
[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" />
13 <div class="distribution-detail">
14 <div class="distribution-detail-previewpane">
15 <em:image
16 src="EXT:{extension.extensionKey}/Resources/Public/Images/DistributionWelcome.png"
17 fallbackImage="EXT:extensionmanager/Resources/Public/Images/Distribution.png"
18 alt="{distribution.title}"
19 class="distribution-detail-preview"
20 width="300"
21 />
22 </div>
23 <div class="distribution-detail-body">
24 <div class="distribution-detail-header">
25 <h1>{extension.title}</h1>
26 <p>{extension.description}</p>
27 </div>
28 <ul class="list-unstyled">
29 <f:if condition="{distributionActive}">
30 <f:else>
31 <li>
32 <f:link.action action="installDistribution" controller="Download" arguments="{extension:extension}" class="btn btn-default t3-button-action-installdistribution">
33 <f:be.buttons.icon icon="actions-system-extension-import" /> <f:translate key="extensionList.installDistribution">Install</f:translate>
34 </f:link.action>
35 </li>
36 </f:else>
37 <f:then>
38 <f:if condition="{configurationLink}">
39 <li>
40 <a href="{configurationLink}" class="btn btn-default distribution-openViewModule " onclick="top.goToModule('web_ViewpageView');">
41 <f:be.buttons.icon icon="actions-system-extension-configure" /><f:translate key="extensionList.configure" />
42 </a>
43 </li>
44 </f:if>
45 <li>
46 <button class="btn btn-default distribution-openViewModule" onclick="top.goToModule('web_ViewpageView');">
47 <f:be.buttons.icon icon="actions-document-view" /><f:translate key="distribution.welcome.openViewModule" />
48 </button>
49 </li>
50 <li>
51 <button class="btn btn-default distribution-openPageModule" onclick="top.goToModule('web_page');">
52 <f:be.buttons.icon icon="actions-document-open" /><f:translate key="distribution.welcome.openPageModule" />
53 </button>
54 </li>
55 </f:then>
56 </f:if>
57 </ul>
58 <dl class="dl-horizontal dl-horizontal-wide distribution-detail-summary">
59 <dt><f:translate key="extensionList.distribution.title" /></dt>
60 <dd>{extension.title}</dd>
61 <dt><f:translate key="extensionList.distribution.key" /></dt>
62 <dd>{extension.extensionKey}</dd>
63 <dt><f:translate key="extensionList.distribution.version" /></dt>
64 <dd>{extension.version} (<f:format.date format="d.m.Y">{extension.lastUpdated}</f:format.date>)<br><span class="{extension.stateString}">{extension.stateString}</span></dd>
65 <dt><f:translate key="extensionList.distribution.author" /></dt>
66 <dd>{extension.authorName}</dd>
67 <dt><f:translate key="extensionList.distribution.downloads" /></dt>
68 <dd>{extension.alldownloadcounter}</dd>
69 </dl>
70 <f:if condition="{extension.dependencies}">
71 <h2><f:translate key="distribution.dependency.headline" /></h2>
72 <table class="table table-striped table-hover">
73 <thead>
74 <tr class="t3-row-header">
75 <td><f:translate key="distribution.dependency.identifier" /></td>
76 <td><f:translate key="distribution.dependency.type" /></td>
77 <td><f:translate key="distribution.dependency.version" /></td>
78 </tr>
79 </thead>
80 <tbody>
81 <f:for each="{extension.dependencies}" as="dependency">
82 <tr>
83 <td>{dependency.identifier}</td>
84 <td>{dependency.type}</td>
85 <td>
86 {dependency.lowestVersion}<f:if condition="{dependency.highestVersion}">-{dependency.highestVersion}</f:if>
87 </td>
88 </tr>
89 </f:for>
90 </tbody>
91 </table>
92 </f:if>
93 </div>
94 </div>
95 </f:section>