summaryrefslogtreecommitdiff
path: root/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/online.html
blob: 92cdebb91fcd09b4be69e1247102ae19c7cffffb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{% extends "ndf/base.html" %}
{% load i18n %}
{% load ndf_tags %}
{% load pagination_tags %}
{% get_group_name groupid as group_name_tag %}

{% block title %} {{ title }} {% endblock %}

{% block help_content %}
  <p>
    Lets u have video chat.
  </p>
{% endblock %}

{% block meta_content %}
  {% blocktrans %}<h2>Meeting</h2>{% endblocktrans %}
{% endblock %}

{% block search_content %}

{% endblock %}

{% block related_content %}
  {% if user.is_authenticated %}
  {% user_access_policy groupid request.user as user_access %}
  {% if user_access == "allow" %}
  <br/>
  <div class="create card">
    <div class="chat">
      <br/>
     <a class="button medium" href="" target="Chatb"> 
      	{% blocktrans %}<span class="start">&nbsp;&nbsp;Start</span>{% endblocktrans %}
      </a>
    </div>
  </div>
  {% endif %}
  {% endif %}
{% endblock %}



{% block body_content %} 
{% with request.user.get_profile as profile %}

 <table>
   <tr><th>{% trans "Last Seen" %}</th><td>{% if profile.last_seen %}{{ profile.last_seen|timesince }}{% else %}awhile{% endif %} ago</td></tr>
   <tr><th>{% trans "Online" %}</th><td>{{ profile.online }}</td></tr>
 </table>

{% endwith %}
{% endblock %}