profile.html.twig 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. {% extends '@ChamiloTheme/Layout/layout_one_col.html.twig' %}
  2. {% import '@ChamiloTheme/Macros/box.html.twig' as macro %}
  3. {% block content %}
  4. {% autoescape false %}
  5. <div class="row">
  6. <div class="col-md-3">
  7. {% include '@ChamiloTheme/Social/user_block.html.twig' %}
  8. {{ social_extra_info_block }}
  9. </div>
  10. <div id="wallMessages" class="col-md-6">
  11. {{ social_wall_block }}
  12. <div class="spinner"></div>
  13. <div class="panel panel-preview panel-default" hidden="true">
  14. <div class="panel-heading">
  15. <h3 class="panel-title">{{ "Url" | get_lang }} - {{ "Preview" | get_lang }}</h3>
  16. </div>
  17. <div class="panel-body">
  18. <div class="url_preview"></div>
  19. </div>
  20. </div>
  21. {{ social_post_wall_block }}
  22. {{ social_auto_extend_link }}
  23. </div>
  24. <div class="col-md-3">
  25. {{ macro.panel("SocialFriend" | get_lang, social_friend_block) }}
  26. {{ social_skill_block }}
  27. {{ social_group_info_block }}
  28. <!-- Block course list -->
  29. {% if social_course_block != null %}
  30. {{ macro.panel("MyCourses" | get_lang, social_course_block) }}
  31. {% endif %}
  32. <!-- Block session list -->
  33. {% if session_list != null %}
  34. {% set social_data %}
  35. <ul class="list-group">
  36. {% for session in session_list %}
  37. <li id="session_{{ session.id }}" class="list-group-item" style="min-height:65px;">
  38. <img class="img-session" src="{{ session.image }}"/>
  39. <span class="title">{{ session.name }}</span>
  40. </li>
  41. {% endfor %}
  42. </ul>
  43. {% endset %}
  44. {{ macro.panel("MySessions" | get_lang, social_data) }}
  45. {% endif %}
  46. {{ invitations }}
  47. {{ social_rss_block }}
  48. {{ social_right_information }}
  49. </div>
  50. </div>
  51. {% if form_modals is defined %}
  52. {{ form_modals }}
  53. {% endif %}
  54. {% endautoescape %}
  55. {% endblock %}