PHP Classes
elePHPant
Icontem

File: app/Resources/views/other/sidebar_users.html.twig

Recommend this page to a friend!
  Classes of Murat Cileli  >  Papernic  >  app/Resources/views/other/sidebar_users.html.twig  >  Download  
File: app/Resources/views/other/sidebar_users.html.twig
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Papernic
Manage documents colaboratively
Author: By
Last change: Removed unnecessary parameters.
Date: 7 months ago
Size: 773 bytes
 

Contents

Class file image Download
<ul class="userList">
    {% for u in users %}

        {% if u.isOnline %}
            {% set status = 'available' %}
        {% else %}
            {% set status = 'off' %}
        {% endif %}

        <li>
            <a href="{{ url('user_profile_show', {'user_id': u.userId}) }}" title="{{ u.fullName }}">
                <img src="{{ asset('images/user_placeholder.gif') }}" alt="">
                                <span class="contactName">
                                    <strong>{{ u.fullName }}</strong>
                                    <i>{{ u.userName }}</i>
                                </span>
                <span class="status_{{ status }}"></span>
                <span class="clear"></span>
            </a>
        </li>
    {% endfor %}
</ul>