Roadmap.html 3.14 KB
Newer Older
1
{namespace roadmap=T3o\Typo3Roadmap\ViewHelpers}
2
3
4
<section class="container">
	<ul class="nav nav-tabs" role="tablist">
		<f:for each="{majorVersions}" as="majorsTabs" key="keyTab" iteration="tabIteratorTabs">
5
6
			<li class="nav-item listing__nav-item">
				<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>
7
			</li>
Mathias Schreiber's avatar
Mathias Schreiber committed
8
9
		</f:for>
	</ul>
10
	<div class="tab-content mb-5">
11
		<f:for each="{majorVersions}" as="major" key="key" iteration="tabIterator">
12
13
14
15
16
17
18
			<div id="major_{major.uid}" role="tabpanel" class="border tab-pane{f:if(condition: tabIterator.isFirst, then: ' active')}">
				<div class="p-3">
					<h2>{major.title}</h2>
					<f:format.html>{major.bodyText}</f:format.html>
					<h3 class="mb-0">Releases</h3>
				</div>
				<table class="table table-striped mb-0">
Mathias Schreiber's avatar
Mathias Schreiber committed
19
					<thead>
Mathias Schreiber's avatar
Mathias Schreiber committed
20
					<tr>
Mathias Schreiber's avatar
Mathias Schreiber committed
21
22
23
						<th scope="col">Version</th>
						<th scope="col">Primary Focus</th>
						<th scope="col">Estimated Release</th>
Mathias Schreiber's avatar
Mathias Schreiber committed
24
					</tr>
Mathias Schreiber's avatar
Mathias Schreiber committed
25
26
					</thead>
					<tbody>
27
					<f:for each="{major.minorVersions}" as="minor">
Mathias Schreiber's avatar
Mathias Schreiber committed
28
29
30
31
32
						<tr>
							<td>{minor.version}</td>
							<td>
								<f:if condition="{minor.link}">
									<f:then>
33
										<f:link.typolink parameter="{minor.link}">{minor.focus}</f:link.typolink>
Mathias Schreiber's avatar
Mathias Schreiber committed
34
35
36
37
38
39
40
41
42
									</f:then>
									<f:else>
										{minor.focus}
									</f:else>
								</f:if>
							</td>
							<td>
								<f:if condition="{minor.released} > 1">
									<f:then>
43
44
										Released:
										<f:format.date format="Y-m-d">@{minor.released}</f:format.date>
Mathias Schreiber's avatar
Mathias Schreiber committed
45
46
									</f:then>
									<f:else>
47
48
										Estimated:
										<f:format.date format="Y-m-d">@{minor.estimated}</f:format.date>
Mathias Schreiber's avatar
Mathias Schreiber committed
49
50
51
52
53
54
55
56
									</f:else>
								</f:if>
							</td>
						</tr>
					</f:for>
					</tbody>
				</table>
			</div>
Mathias Schreiber's avatar
Mathias Schreiber committed
57
58
59
		</f:for>
	</div>

60
	<h3>Support Times</h3>
61
62
63
64
65
66
67
	<div class="charts-wrapper">
		<div id="charts" style="height: 300px;"></div>
	</div>
	<h3>Extended Support for TYPO3</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>
68
	<div id="legend"></div>
Mathias Schreiber's avatar
Mathias Schreiber committed
69

70
71
72
	<h3>PHP Compatibility Chart</h3>
	<table class="table table-bordered">
		<thead>
73
74
75
76
77
78
79
80
81
82
		<tr>
			<th>PHP versions</th>
			<f:for each="{majorVersions}" as="majorVersion">
				<th>
					<strong>{majorVersion.title}</strong><br>
					{f:format.date(date:majorVersion.developmentStart,format:'Y')}
					- {f:format.date(date:majorVersion.prioritySupport,format:'Y')}
				</th>
			</f:for>
		</tr>
83
84
		</thead>
		<tbody>
85
86
87
88
89
90
		<f:for each="{phpVersions}" as="phpVersion">
			<tr>
				<td>
					PHP {phpVersion.version}
				</td>
				<f:for each="{majorVersions}" as="majorVersion">
91
					<td>
92
93
94
95
96
97
98
99
						<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>
100
					</td>
101
102
103
				</f:for>
			</tr>
		</f:for>
104
105
106
		</tbody>
	</table>
</section>