Commit 8dd71d97 authored by Thomas Löffler's avatar Thomas Löffler
Browse files

Merge branch '18-add-order-link-for-elts' into 'master'

Resolve "Add order link for ELTS"

Closes #18

See merge request t3o/typo3_roadmap!9
parents 39457b21 65c33336
...@@ -10,4 +10,11 @@ plugin.tx_typo3roadmap { ...@@ -10,4 +10,11 @@ plugin.tx_typo3roadmap {
persistence { persistence {
storagePid = {$plugin.tx_typo3roadmap_roadmap.persistence.storagePid} storagePid = {$plugin.tx_typo3roadmap_roadmap.persistence.storagePid}
} }
settings {
ELTS {
orderLink = https://typo3.com/ordering
infoLink = https://typo3.com/products/extended-support
}
}
} }
...@@ -2,18 +2,20 @@ ...@@ -2,18 +2,20 @@
<section class="container"> <section class="container">
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
<f:for each="{majorVersions}" as="majorsTabs" key="keyTab" iteration="tabIteratorTabs"> <f:for each="{majorVersions}" as="majorsTabs" key="keyTab" iteration="tabIteratorTabs">
<li class="nav-item"> <li class="nav-item listing__nav-item">
<a class="nav-link{f:if(condition: tabIteratorTabs.isFirst, then: ' active')}" data-toggle="tab" role="tab" href="#major_{majorsTabs.uid}">{majorsTabs.title}</a> <a class="nav-link listing__nav-item_link px-lg-0 py-lg-3{f:if(condition: tabIteratorTabs.isFirst, then: ' active')}" data-toggle="tab" role="tab" href="#major_{majorsTabs.uid}">{majorsTabs.title}</a>
</li> </li>
</f:for> </f:for>
</ul> </ul>
<div class="tab-content"> <div class="tab-content mb-5">
<f:for each="{majorVersions}" as="major" key="key" iteration="tabIterator"> <f:for each="{majorVersions}" as="major" key="key" iteration="tabIterator">
<div id="major_{major.uid}" role="tabpanel" class="card tab-pane{f:if(condition: tabIterator.isFirst, then: ' active')}"> <div id="major_{major.uid}" role="tabpanel" class="border tab-pane{f:if(condition: tabIterator.isFirst, then: ' active')}">
<h2>{major.title}</h2> <div class="p-3">
<f:format.html>{major.bodyText}</f:format.html> <h2>{major.title}</h2>
<h3>Releases</h3> <f:format.html>{major.bodyText}</f:format.html>
<table class="table table-striped"> <h3 class="mb-0">Releases</h3>
</div>
<table class="table table-striped mb-0">
<thead> <thead>
<tr> <tr>
<th scope="col">Version</th> <th scope="col">Version</th>
...@@ -56,47 +58,49 @@ ...@@ -56,47 +58,49 @@
</div> </div>
<h3>Support Times</h3> <h3>Support Times</h3>
<div id="charts" style="height: 300px;"></div> <div class="charts-wrapper">
<h3> <div id="charts" style="height: 300px;"></div>
You can find further information about our Extended Support </div>
Plans on <a href="https://typo3.com/our-services/extended-support/" target="_blank">TYPO3.com</a> <h3>Extended Support for TYPO3</h3>
</h3> <p> You can find further information about our Extended Support Plans on <a href="{settings.ELTS.infoLink}" target="_blank">TYPO3.com</a><br>
<a class="btn btn-primary" href="{settings.ELTS.orderLink}" target="_blank">Get extended Support</a>
</p>
<div id="legend"></div> <div id="legend"></div>
<h3>PHP Compatibility Chart</h3> <h3>PHP Compatibility Chart</h3>
<table class="table table-bordered"> <table class="table table-bordered">
<thead> <thead>
<tr> <tr>
<th>PHP versions</th> <th>PHP versions</th>
<f:for each="{majorVersions}" as="majorVersion"> <f:for each="{majorVersions}" as="majorVersion">
<th> <th>
<strong>{majorVersion.title}</strong><br> <strong>{majorVersion.title}</strong><br>
{f:format.date(date:majorVersion.developmentStart,format:'Y')} {f:format.date(date:majorVersion.developmentStart,format:'Y')}
- {f:format.date(date:majorVersion.prioritySupport,format:'Y')} - {f:format.date(date:majorVersion.prioritySupport,format:'Y')}
</th> </th>
</f:for> </f:for>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<f:for each="{phpVersions}" as="phpVersion"> <f:for each="{phpVersions}" as="phpVersion">
<tr> <tr>
<td>
PHP {phpVersion.version}
</td>
<f:for each="{majorVersions}" as="majorVersion">
<td> <td>
PHP {phpVersion.version} <roadmap:condition.inArray needle="{phpVersion.uid}" array="{majorVersion.phpVersions}" arrayPath="uid">
<f:then>
<b>Yes</b>
</f:then>
<f:else>
no
</f:else>
</roadmap:condition.inArray>
</td> </td>
<f:for each="{majorVersions}" as="majorVersion"> </f:for>
<td> </tr>
<roadmap:condition.inArray needle="{phpVersion.uid}" array="{majorVersion.phpVersions}" arrayPath="uid"> </f:for>
<f:then>
<b>Yes</b>
</f:then>
<f:else>
no
</f:else>
</roadmap:condition.inArray>
</td>
</f:for>
</tr>
</f:for>
</tbody> </tbody>
</table> </table>
</section> </section>
...@@ -29,7 +29,7 @@ $EM_CONF[$_EXTKEY] = array( ...@@ -29,7 +29,7 @@ $EM_CONF[$_EXTKEY] = array(
'clearCacheOnLoad' => 0, 'clearCacheOnLoad' => 0,
'lockType' => '', 'lockType' => '',
'author_company' => '', 'author_company' => '',
'version' => '2.0.4', 'version' => '2.0.5',
'constraints' => array( 'constraints' => array(
'depends' => array( 'depends' => array(
'typo3' => '8.5.0-8.99.99', 'typo3' => '8.5.0-8.99.99',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment