{** * Copyright (c) 2012, Sergey Kambalin * All rights reserved. * ATTENTION: This commercial software is intended for use with Oxwall Free Community Software http://www.oxwall.org/ * and is licensed under Oxwall Store Commercial License. * Full text of this license can be found at http://www.oxwall.org/store/oscl *} {** * * @author Sergey Kambalin * @package hint.view **} {style} #{$uniqId} .uhint-avatar-image { background-image: url({$user.avatar}); } {if !empty($cover)} #{$uniqId} .uhint-body .uhb-head { height: {$cover.height}px; } {/if} #h-preview-buttons li, #h-preview-buttons li a { cursor: move; } {/style} {script} $( "#h-preview-buttons" ).sortable({ tolerance: "pointer", stop: function( event, ui ) { var pos = $(this).sortable("toArray"); $.get({$rspUrl}, { sort: JSON.stringify(pos) }); } }); $( "#h-preview-buttons" ).disableSelection(); {/script}
{$renderedCover}
{if !empty($cover)} {/if}
{$user.displayName} {if !empty($info.line0)}
{$info.line0}
{/if}
{if isset($user.role.label)} {$user.role.label} {/if}
{$info.line1}
{$info.line2}
{if !empty($buttons)}
    {foreach from=$buttons item="button"} {if !empty($button.html)} {$button.html} {else}
  • {$button.label}
  • {/if} {/foreach}
{/if}