PHP Classes

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: 1 year ago
Size: 773 bytes


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

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

            <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 class="status_{{ status }}"></span>
                <span class="clear"></span>
    {% endfor %}