Commit ccbe46b1 authored by Stefan Busemann's avatar Stefan Busemann
Browse files

[TASK] Diplay Slack at profile page

parent 421bca98
Pipeline #3183 passed with stages
in 4 minutes and 18 seconds
{namespace userprofile=In2code\Userprofile\ViewHelpers}
{namespace slack=T3o\T3oSlack\ViewHelpers}
<section class="container">
<h1>{user.name}</h1>
<f:debug>{user}</f:debug>
......@@ -49,10 +50,15 @@
<f:image image="{image}" maxWidth="800" />
</f:for>
</f:if>
<f:if condition="{userprofile:isPropertyVisible(propertyName:'about_me', user:user)}">
<li>About me: {user.aboutMe}</li>
<li>About me: {user.aboutMe}</li>
</f:if>
<f:if condition="{userprofile:isPropertyVisible(propertyName:'slack_id', user:user)}">
<li><slack:showSlackLink frontendUserUID="{user.uid}" /></li>
</f:if>
<f:if condition="{isOwnProfile}">
<f:render partial="ShowEdit" arguments="{_all}" />
</f:if>
......
Supports Markdown
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