src/Social/FrontendBundle/Resources/views/Components/Account/boosted_users.html.twig line 1

Open in your IDE?
  1. <style>
  2.     .status-offline {
  3.         color: #ff6f65;
  4.         opacity: 0.33;
  5.     }
  6.     .status-online {
  7.         color: #76b047;
  8.     }
  9.     .boosted-users {
  10.         padding-bottom: 12px;
  11.         margin-bottom: 12px;
  12.     }
  13. </style>
  14. <div class="widget-friends-suggestion">
  15.     <div class="widget-body padding-none">
  16.         <div class="row innertb">
  17.             {% for boostedUser in boostedUsers %}
  18.                 <div class="col-xs-12 col-sm-6 padding-none suggest-user-section">
  19.                     <div class="suggest-user innerTB">
  20.                         <div class="suggest-user-img">
  21.                             <div style="display: flex; justify-content: space-between;">
  22.                                 <span data-original-title="" data-toggle="tooltip"
  23.                                       class="status-{% if boostedUser.isOnline %}online{% else %}offline{% endif %}">
  24.                                  <i class="fa fa-circle" style="font-size: 11px;"></i>
  25.                                 </span>
  26.                                 <span class="boost-profile-icon" data-original-title="has a boosted profile" data-toggle="tooltip" data-placement="top" >
  27.                                     <i class="fa far fa-rocket"></i>
  28.                                 </span>
  29.                             </div>
  30.                             <a class="pull-left instant-load" href="{{ get_user_profile_url(boostedUser) }}" title="{{ boostedUser.username }}" target="about">
  31.                                 {% include 'SocialFrontendBundle:Photos:profile_photo_single_item.html.twig' with {user: boostedUser, filter: 'user_big_thumb', 'class': ''} %}
  32.                             </a>
  33.                         </div>
  34.                     </div>
  35.                 </div>
  36.             {% endfor %}
  37.         </div>
  38.     </div>
  39. </div>