We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

user-header.tpl 728 Bytes
Newer Older
Matt Lee's avatar
Matt Lee committed
1 2
<div id="user-profile-header">
    <div class="row">
Matt Lee's avatar
Matt Lee committed
3 4
      <div class="col-sm-3">
	<img class="img-responsive img-thumbnail" src="{$me->getAvatar(128)}" alt="[ {$me->name} avatar ]">
Matt Lee's avatar
Matt Lee committed
5
      </div>
Matt Lee's avatar
Matt Lee committed
6
      <div class="col-sm-9">
Matt Lee's avatar
Matt Lee committed
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
	  <h1>{$me->name}
	  </h1>
	  {if $me->getTotalTracks()}
	  <p>
	    <span class="label label-primary">
	      <span class="glyphicon glyphicon-play"></span>
	      {$me->getTotalTracks()} plays
	    </span>
	  </p>
	  {/if}
	  <div id='user_bio'>
	    <p>{$me->bio|escape:'html':'UTF-8'}</p>
	  </div>
	  {if $me->homepage}
	  <p><a href="{$me->homepage}">{$me->homepage}</a></p>
	  {/if}
      </div>
    </div>
    <div class="margin-top">
      {include file='submenu.tpl'}
    </div>
</div>
<br/>