ShowUserData.html 1.8 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
{namespace userprofile=In2code\Userprofile\ViewHelpers}
{namespace t3omy=T3o\T3omy\ViewHelpers}

<div class="user-profile-data">
    <f:if condition="{userprofile:isPropertyVisible(propertyName:'image', user:user)}">
        <f:for each="{user.image}" as="image">
            <f:image class="img-fluid rounded-circle" image="{image}" width="300" height="300" />
        </f:for>
    </f:if>
    <f:comment>
        Here should be the Carma Display
    </f:comment>
    <br />
    <br />

    <f:if condition="{userprofile:isPropertyVisible(propertyName:'address', user:user)} AND {user.address}">
        <span>{user.address}</span><br />
    </f:if>

    <f:if condition="{userprofile:isPropertyVisible(propertyName:'zip', user:user)} AND {user.zip}">
        <span>{user.zip}</span><br />
    </f:if>

    <f:if condition="{userprofile:isPropertyVisible(propertyName:'city', user:user)} AND {user.city}">
        <span>{user.city}</span><br />
    </f:if>

    <f:if condition="{userprofile:isPropertyVisible(propertyName:'telephone', user:user)} AND {user.telephone}">
        <span>{user.telephone}</span><br />
    </f:if>

    <f:if condition="{userprofile:isPropertyVisible(propertyName:'email', user:user)} AND {user.email}">
        <span>{user.email}</span><br />
    </f:if>

    <f:if condition="{userprofile:isPropertyVisible(propertyName:'country', user:user)} AND {user.country}">
        <span>{user.country}</span><br />
    </f:if>

    <f:if condition="{userprofile:isPropertyVisible(propertyName:'www', user:user)} AND {user.www}">
        <span> {user.www}</span><br />
    </f:if>

    <f:if condition="{userprofile:isPropertyVisible(propertyName:'slack_id', user:user)} AND {user.slack_id}">
        <span><f:format.raw><slack:showSlackLink frontendUserUID="{user.uid}" /></f:format.raw></span><br />
    </f:if>
</div>