avatar_block.tpl 873 B

12345678910111213141516171819202122
  1. <div class="social-profile">
  2. {% if show_group %}
  3. <div class="img-profile">
  4. <a href="{{ _p.web_main ~ 'social/group_view.php?id=' ~ group_id }}">
  5. <img src="{{ user_group_image.file }}" class="img-responsive img-circle">
  6. </a>
  7. </div>
  8. <div class="group-title"><h4>{{ user_group.name }}</h4></div>
  9. <div class="group-description">{{ user_group.description }}</div>
  10. {% if user_is_group_admin %}
  11. <div id="edit_image">
  12. <a class="btn btn-default" href="{{ _p.web_main ~ 'social/group_edit.php?id=' ~ group_id }}">
  13. {{ 'EditGroup'|get_lang }}
  14. </a>
  15. </div>
  16. {% endif %}
  17. {% elseif show_user %}
  18. <a href="{{ user_image.big }}" class="expand-image">
  19. <img class="img-responsive img-circle" src="{{ user_image.normal }}">
  20. </a>
  21. {% endif %}
  22. </div>