parent
7a9b4629e9
commit
5e9a2555a8
@ -1,19 +1,22 @@ |
||||
<div class="avatar-profile"> |
||||
<div class="social-profile"> |
||||
{% if show_group %} |
||||
<div class="img-profile"> |
||||
<a href="{{ _p.web_main ~ 'social/group_view.php?id=' ~ group_id }}"> |
||||
<img src="{{ user_group_image.file }}" class="social-groups-image"> |
||||
<img src="{{ user_group_image.file }}" class="img-responsive img-circle"> |
||||
</a> |
||||
|
||||
{% if user_is_group_admin %} |
||||
<div id="edit_image"> |
||||
<a href="{{ _p.web_main ~ 'social/group_edit.php?id=' ~ group_id }}"> |
||||
{{ 'EditGroup'|get_lang }} |
||||
</a> |
||||
</div> |
||||
{% endif %} |
||||
</div> |
||||
<div class="group-title"><h4>{{ user_group.name }}</h4></div> |
||||
<div class="group-description">{{ user_group.description }}</div> |
||||
{% if user_is_group_admin %} |
||||
<div id="edit_image"> |
||||
<a class="btn btn-default" href="{{ _p.web_main ~ 'social/group_edit.php?id=' ~ group_id }}"> |
||||
{{ 'EditGroup'|get_lang }} |
||||
</a> |
||||
</div> |
||||
{% endif %} |
||||
{% elseif show_user %} |
||||
<a href="{{ user_image.big }}" class="expand-image"> |
||||
<img class="img-responsive" src="{{ user_image.normal }}"> |
||||
<img class="img-responsive img-circle" src="{{ user_image.normal }}"> |
||||
</a> |
||||
{% endif %} |
||||
</div> |
||||
|
||||
@ -1,4 +1,4 @@ |
||||
<div class="panel panel-info social-avatar"> |
||||
<div class="panel panel-default social-avatar"> |
||||
{{ socialAvatarBlock }} |
||||
<p class="lead">{{ group_info.complete_name }}</p> |
||||
</div> |
||||
|
||||
@ -1,28 +1,34 @@ |
||||
<div class="panel panel-info social-avatar"> |
||||
{{ socialAvatarBlock }} |
||||
<p class="lead">{{ user.complete_name }}</p> |
||||
<p> |
||||
<img src="{{ "instant_message.png" | icon }}" atl="{{ "Email" | get_lang }}"> |
||||
{{ user.email}} |
||||
</p> |
||||
{% if user.user_is_online_in_chat != 0 %} |
||||
<p> |
||||
<div class="social-avatar"> |
||||
<div class="panel panel-default"> |
||||
{{ socialAvatarBlock }} |
||||
<div class="social-avatar-name"> |
||||
<p class="firstname">{{ user.firstname }}</p> |
||||
<p class="lastname">{{ user.lastname }}</p> |
||||
</div> |
||||
<div class="social-avatar-email"> |
||||
<img src="{{ "instant_message.png" | icon }}" atl="{{ "Email" | get_lang }}"> |
||||
{{ user.email}} |
||||
</div> |
||||
{% if user.user_is_online_in_chat != 0 %} |
||||
<div class="social-avatar-chat"> |
||||
<img src="{{ "online.png" | icon }}" alt="{{ "Online" | get_lang }}"> |
||||
{{ "Chat" | get_lang }} ({{ "Online" | get_lang }}) |
||||
</p> |
||||
{% else %} |
||||
<p> |
||||
</div> |
||||
{% else %} |
||||
<div class="social-avatar-chat"> |
||||
<img src="{{ "offline.png" | icon }}" alt="{{ "Online" | get_lang }}"> |
||||
{{ "Chat" | get_lang }} ({{ "Offline" | get_lang }}) |
||||
</p> |
||||
{% endif %} |
||||
</div> |
||||
{% endif %} |
||||
|
||||
{% if not profileEditionLink is empty %} |
||||
{% if not profileEditionLink is empty %} |
||||
<p> |
||||
<a class="btn btn-link" href="{{ profileEditionLink }}"> |
||||
<i class="fa fa-edit"></i> |
||||
{{ "EditProfile" | get_lang }} |
||||
</a> |
||||
</p> |
||||
{% endif %} |
||||
{% endif %} |
||||
</div> |
||||
</div> |
||||
|
||||
|
||||
Loading…
Reference in new issue