|
|
|
@ -64,8 +64,11 @@
|
|
|
|
|
|
|
|
|
|
<li id="user_label" class="dropdown">
|
|
|
|
|
<a class="dropdown-toggle" data-toggle="dropdown" href="#" id="user_dropdown" title="[[global:header.profile]]">
|
|
|
|
|
<img component="header/userpicture" src="{user.picture}" alt="{user.username}"<!-- IF !user.picture --> style="display: none;"<!-- ENDIF !user.picture --> />
|
|
|
|
|
<div component="header/usericon" class="user-icon" style="background-color: {user.icon:bgColor};<!-- IF user.picture --> display: none;<!-- ENDIF user.picture -->">{user.icon:text}</div>
|
|
|
|
|
<!-- IF user.picture -->
|
|
|
|
|
<img component="header/userpicture" src="{user.picture}" alt="{user.username}"<!-- IF !user.picture --> style="display: none;">
|
|
|
|
|
<!-- ELSE -->
|
|
|
|
|
<div component="header/usericon" class="user-icon" style="background-color: {user.icon:bgColor};">{user.icon:text}</div>
|
|
|
|
|
<!-- ENDIF user.picture -->
|
|
|
|
|
<span id="user-header-name" class="visible-xs-inline">{user.username}</span>
|
|
|
|
|
</a>
|
|
|
|
|
<ul id="user-control-list" component="header/usercontrol" class="dropdown-menu" aria-labelledby="user_dropdown">
|
|
|
|
|