%PDF- %PDF-
| Direktori : /proc/self/root/data/old/home/stash/atlassian-stash/static/layout/users/profile/ |
| Current File : //proc/self/root/data/old/home/stash/atlassian-stash/static/layout/users/profile/profile.soy |
{namespace stash.layout.users}
/**
* Used when showing a user their own profile. For the moment it retains the edit buttons shown in the user edit screen.
* @param windowTitle
* @param user
* @param activeNav
* @param content
* @param project
* @param? dataAttributes
* @param? headContent
* @param? pageBottomContent
*/
{template .profile}
{webResourceManager_requireResourcesForContext('stash.layout.user.profile')}
{call stash.layout.entity}
{param windowTitle: $windowTitle /}
{param pageType: 'hybrid' /}
{param dataAttributes: $dataAttributes /}
{param headContent: $headContent /}
{param headerImageContent}
{call stash.widget.avatar}
{param person: $user /}
{param size: 'xxlarge' /}
{/call}
{/param}
{param entityName: $user.displayName /}
{param entityNameExtraContent}
{foreach $webPanel in getWebPanels('stash.user.profile.header.details', [ 'profileUser' : $user, 'project': $project ])}
{$webPanel|noAutoescape}
{/foreach}
{/param}
{param actionWebItems: getWebItems('stash.profile.overview.actions', [ 'profileUser' : $user, 'project': $project ] ) /}
{param entityHeaderRightItems}
{foreach $webPanel in getWebPanels('stash.user.profile.header', [ 'profileUser' : $user, 'project': $project ])}
{$webPanel|noAutoescape}
{/foreach}
{/param}
{param entityNav: concat(getWebItems('stash.user.profile.secondary.tabs', [ 'profileUser' : $user, 'project': $project ]),
getWebItems('stash.web.userprofile.secondary.tabs', [ 'profileUser' : $user ])) /} //deprecated /}
{param activeNav: $activeNav /}
{param content}
{$content|noAutoescape}
{/param}
{param pageBottomContent}
{if $pageBottomContent}{$pageBottomContent|noAutoescape}{/if}
{/param}
{/call}
{/template}
/**
* @param profileUser
* Used by the com.atlassian.stash.stash-web-plugin:userprofile-manage-account-button web panel
*/
{template .userDetailsUsername}
<div class="user-detail username">
{call aui.icons.icon}
{param useIconFont: true /}
{param icon: 'user' /}
{/call}
{$profileUser.username}
</div>
{/template}
/**
* @param profileUser
* Used by the com.atlassian.stash.stash-web-plugin:userprofile-manage-account-button web panel
*/
{template .userDetailsEmail}
{if $profileUser.emailAddress}
<div class="user-detail email">
{call aui.icons.icon}
{param useIconFont: true /}
{param icon: 'email' /}
{/call}
{$profileUser.emailAddress}
</div>
{/if}
{/template}