commit
0ef8d24282
@ -0,0 +1,19 @@ |
||||
<div class="avatar-profile"> |
||||
{% if show_group %} |
||||
<a href="{{ _p.web_main ~ 'social/group_view.php?id=' ~ group_id }}"> |
||||
<img src="{{ user_group_image.file }}" class="social-groups-image"> |
||||
</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 %} |
||||
{% elseif show_user %} |
||||
<a href="{{ user_image.big }}" class="expand-image"> |
||||
<img class="img-responsive" src="{{ user_image.normal }}"> |
||||
</a> |
||||
{% endif %} |
||||
</div> |
@ -0,0 +1,41 @@ |
||||
<div class="panel panel-default social-skill"> |
||||
<div class="panel-heading"> |
||||
{{ 'Skills'|get_lang }} |
||||
<div class="btn-group pull-right"> |
||||
<a class="btn btn-xs btn-default dropdown-toggle" data-toggle="dropdown" href="#"> |
||||
<span class="caret"></span> |
||||
</a> |
||||
<ul class="dropdown-menu"> |
||||
{% if show_skills_report_link %} |
||||
<li> |
||||
<a href="{{ _p.web_main ~ 'social/my_skills_report.php' }}"> {{'SkillsReport'|get_lang }}</a> |
||||
</li> |
||||
{% endif %} |
||||
|
||||
<li> |
||||
<a href="{{ _p.web_main ~ 'social/skills_wheel.php' }}"> {{ 'SkillsWheel'|get_lang }}</a> |
||||
</li> |
||||
<li> |
||||
<a href="{{ _p.web_main ~ 'social/skills_ranking.php' }}"> {{ 'YourSkillRankingX'|get_lang|format(ranking) }}</a> |
||||
</li> |
||||
</ul> |
||||
</div> |
||||
</div> |
||||
<div class="panel-body"> |
||||
{% if skills %} |
||||
<ul class="list-badges"> |
||||
{% for skill in skills %} |
||||
<li> |
||||
<img title="{{ skill.name }}" src="{{ skill.icon ? skill.web_icon_thumb_path : 'badges-default.png'|icon(64) }}" alt="{{ skill.name }}"> |
||||
<div class="badges-name">{{ skill.name }}</div> |
||||
</li> |
||||
{% endfor %} |
||||
</ul> |
||||
{% else %} |
||||
<p>{{ 'WithoutAchievedSkills'|get_lang }}</p> |
||||
<p> |
||||
<a href="{{ _p.web_main ~ 'social/skills_wheel.php' }}">{{ 'SkillsWheel'|get_lang }}</a> |
||||
</p> |
||||
{% endif %} |
||||
</div> |
||||
</div> |
Loading…
Reference in new issue