Add icon for student boss BT#15175

pull/3173/head
Julio Montoya 7 years ago
parent 114f3bb757
commit 01302a7ce6
  1. 15
      main/template/default/social/user_block.tpl

@ -3,7 +3,8 @@
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="heading-sn">
<h4 class="panel-title">
<a role="button" data-toggle="collapse" data-parent="#sn-avatar" href="#sn-avatar-one" aria-expanded="true" aria-controls="sn-avatar-one">
<a role="button" data-toggle="collapse" data-parent="#sn-avatar"
href="#sn-avatar-one" aria-expanded="true" aria-controls="sn-avatar-one">
{{ "Profile" | get_lang }}
</a>
</h4>
@ -21,7 +22,7 @@
<img src="{{ _p.web_img }}icons/svg/identifier_student.svg" width="32px" height="32px">
{% endif %}
</div>
{% elseif user.status == 1 %}
{% elseif user.status == 1 or user.status == 17 %}
<div class="avatar-icon">
{% if user.is_admin %}
<img src="{{ _p.web_img }}icons/svg/identifier_admin.svg" width="32px" height="32px">
@ -33,9 +34,7 @@
<!-- END TYPE PROFILE -->
<!-- LM -->
<div class="avatar-lm">
<h5></h5>
{% if user.language %}
{% if user.language.code == 'fr' %}
<img src="{{ _p.web }}web/assets/flag-icon-css/flags/4x3/fr.svg" width="36px">
@ -56,7 +55,6 @@
<h5></h5>
{% for item in extra_info %}
{% if item.variable == 'langue_cible' %}
{% if item.value == 'French2' %}
<img src="{{ _p.web }}web/assets/flag-icon-css/flags/4x3/fr.svg" width="36px">
{% elseif item.value == 'German2' %}
@ -70,18 +68,12 @@
{% elseif item.value == 'English' %}
<img src="{{ _p.web }}web/assets/flag-icon-css/flags/4x3/gb.svg" width="36px">
{% endif %}
{% endif %}
{% endfor %}
</div>
<!-- END LC -->
</div>
{# Ofaj #}
<ul class="list-user-data">
<li class="item item-name">
<h5>{{ user.complete_name }} </h5>
@ -155,7 +147,6 @@
{% endif %}
{% endif %}
{% endif %}
<dl class="list-info">
{% for item in extra_info %}
{% if item.variable != 'langue_cible' %}

Loading…
Cancel
Save