ExtensionSingleInfo.html 2.24 KB
Newer Older
1
2
{namespace terfe2=T3o\TerFe2\ViewHelpers}

3
<dl class="dl-horizontal">
4
    <f:if condition="{extension.lastVersion.author}">
Markus Sommer's avatar
Markus Sommer committed
5
6
7
        <dt>
            <f:translate key="author" />
        </dt>
8
        <dd itemprop="creator" itemscope itemtype="http://schema.org/Person">
9
10
            <span itemprop="name">{extension.lastVersion.author.name}</span>
        </dd>
11
    </f:if>
12
13
14
15
16
17
18
19
    <f:if condition="{extension.lastVersion.author.company}">
        <dt>
            <f:translate key="company" />
        </dt>
        <dd itemprop="worksFor" itemscope itemtype="http://schema.org/Organization">
            <span itemprop="name">{extension.lastVersion.author.company}</span>
        </dd>
    </f:if>
20
    <dt>Last update</dt>
Markus Sommer's avatar
Markus Sommer committed
21
    <dd>
22
        <span hidden itemprop="dateCreated"><f:format.date format="c">@{extension.lastVersion.uploadDate}</f:format.date></span>
Markus Sommer's avatar
Markus Sommer committed
23
24
25
26
27
28
        <f:format.date format="%d. %b %Y">@{extension.lastVersion.uploadDate}</f:format.date>
    </dd>
    <dt>
        <f:translate key="first_upload" />
    </dt>
    <dd>
29
        <f:format.date format="%d. %b %Y">{extension.dateOfFirstUpload}</f:format.date>
Markus Sommer's avatar
Markus Sommer committed
30
31
    </dd>
    <dt>
32
        <f:translate key="downloads" /> <i class="fas fa-info-circle" title="<f:translate key='downloads.description' />"></i>
Markus Sommer's avatar
Markus Sommer committed
33
34
    </dt>
    <dd>
35
        <f:format.number decimals="0" thousandsSeparator="," decimalSeparator=".">{extensionDownloads}</f:format.number>
Markus Sommer's avatar
Markus Sommer committed
36
37
38
39
    </dd>
    <dt>
        <f:translate key="category" />
    </dt>
40
    <dd itemprop="applicationSubCategory">
41
42
43
44
45
46
47
48
49
        <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>
Markus Sommer's avatar
Markus Sommer committed
50
51
52
53
54
55
    <dt>
        <f:translate key="dependencies" />
    </dt>
    <dd>
        <f:render partial="InlineRelationList" arguments="{relations: extension.lastVersion.dependencies}" />
    </dd>
56
57
58
59
60
61
62
63
    <f:if condition="{extension.lastVersion.conflicts}">
        <dt>
            <f:translate key="conflicts" />
        </dt>
        <dd>
            <f:render partial="InlineRelationList" arguments="{relations: extension.lastVersion.conflicts}" />
        </dd>
    </f:if>
64
</dl>