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