Commit 0e57770fcffac77e4109080fa01ad9c894911e10
1 parent
a05687ab
Exists in
master
and in
5 other branches
added profile status #187
Showing
1 changed file
with
6 additions
and
1 deletions
Show diff stats
users/templates/users/profile.html
@@ -59,7 +59,12 @@ | @@ -59,7 +59,12 @@ | ||
59 | <tbody> | 59 | <tbody> |
60 | <tr> | 60 | <tr> |
61 | <td>{% trans "Status" %}:</td> | 61 | <td>{% trans "Status" %}:</td> |
62 | - <td></td> | 62 | + {% if user %} |
63 | + <td> {% trans "Online" %}</td> | ||
64 | + {% else %} | ||
65 | + <td> {% trans "OffLine" %}</td> | ||
66 | + {% endif %} | ||
67 | + | ||
63 | </tr> | 68 | </tr> |
64 | <tr> | 69 | <tr> |
65 | <td>{% trans "Name" %}:</td> | 70 | <td>{% trans "Name" %}:</td> |