ExtensionSingleInfo.html 3.63 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<dl class="row">
	<dt class="col-sm-3"><f:translate key="version" /></dt>
	<dd class="col-sm-9">{extension.lastVersion.versionString}</dd>
	<dt class="col-sm-3"><f:translate key="last_updated" /></dt>
	<dd class="col-sm-9"><terfe2:dateTime format="{settings.dateFormat}">{extension.lastVersion.uploadDate}</terfe2:dateTime></dd>
	<dt class="col-sm-3"><f:translate key="first_upload" /></dt>
	<dd class="col-sm-9"><terfe2:dateTime format="{settings.dateFormat}">{extension.crdate}</terfe2:dateTime></dd>
	<dt class="col-sm-3"><f:translate key="downloads" /></dt>
	<dd class="col-sm-9"><f:format.number decimals="0" thousandsSeparator="," decimalSeparator=".">{extension.downloads}</f:format.number></dd>
	<f:security.ifHasRole role="{settings.reviewerGroupUid}">
		<dt class="col-sm-3">Owner:</dt>
		<dd class="col-sm-9">Name: {owner.name}<br />Email: {owner.email}<br />Username: {owner.username}</dd>
	</f:security.ifHasRole>
	<dt class="col-sm-3"><f:translate key="category" /></dt>
	<dd class="col-sm-9">
		<f:if condition="{extension.lastVersion.emCategory}">
			<f:then>
				<f:translate key="category_{extension.lastVersion.emCategory}" />
			</f:then>
			<f:else>
				<f:translate key="none" />
			</f:else>
		</f:if>
	</dd>
	<dt class="col-sm-3"><f:translate key="dependencies" /></dt>
	<dd class="col-sm-9"><f:render partial="InlineRelationList" arguments="{relations: extension.lastVersion.dependencies}" /></dd>
	<dt class="col-sm-3"><f:translate key="conflicts" /></dt>
	<dd class="col-sm-9"><f:render partial="InlineRelationList" arguments="{relations: extension.lastVersion.conflicts}" /></dd>
	<dt class="col-sm-3"><f:translate key="manual" /></dt>
	<dd class="col-sm-9">
		<f:if condition="{documentationLink}">
			<f:then>
				<terfe2:raw>{documentationLink}</terfe2:raw>
				<f:if condition="{extension.externalManual}">
					<br />
					<f:link.external rel="nofollow" uri="{extension.externalManual}" target="_blank">
						<f:translate key="external_manual" />
					</f:link.external>
				</f:if>
			</f:then>
			<f:else>
				<f:if condition="{extension.externalManual}">
					<f:then>
						<f:link.external rel="nofollow" uri="{extension.externalManual}" target="_blank">
							<f:translate key="extension_manual" />
						</f:link.external>
					</f:then>
					<f:else>
						<f:translate key="extension_manual_not_available" />
					</f:else>
				</f:if>
			</f:else>
		</f:if>
		</dd>
	<f:if condition="{extension.forgeLink}">
		<dt class="col-sm-3">
			<f:translate key="bugtracker" />
		</dt>
		<dd class="col-sm-9">
			<f:link.external rel="nofollow" uri="{extension.forgeLink}" target="_blank">
				<f:translate key="found_a_bug" />
			</f:link.external>
		</dd>
	</f:if>
	<f:if condition="{extension.repositoryUrl}">
		<dt class="col-sm-3">
			<f:translate key="repository_url" />
		</dt>
		<dd class="col-sm-9">
			<f:link.external rel="nofollow" uri="{extension.repositoryUrl}" target="_blank">
				<f:translate key="repository_url_value" />
			</f:link.external>
		</dd>
	</f:if>
	<f:if condition="{flattrUrl}">
		<dt class="col-sm-3">
			<f:translate key="donate" />
		</dt>
		<dd class="col-sm-9">
			<f:link.external uri="{flattrUrl}" target="_blank"><img
				src="https://api.flattr.com/button/flattr-badge-large.png"
				alt="{f:translate(key:'donate')}" /></f:link.external>
		</dd>
	</f:if>
	<f:if condition="{extension.paypalUrl}">
		<dt class="col-sm-3">
			<f:translate key="like_it" />
		</dt>
		<dd class="col-sm-9">
			<f:link.external rel="nofollow" uri="{extension.paypalUrl}" target="_blank">
				<f:translate key="donate_url" />
			</f:link.external>
		</dd>
	</f:if>
	<dt class="col-sm-3"><f:translate key="author" /></dt>
	<dd class="col-sm-9">{owner.name}</dd>
</dl>