Move bell symbol to own column in preparation of hiding columns for regular users, add Kumi Systems as admin
This commit is contained in:
parent
b85c772254
commit
a32d954e0f
2 changed files with 5 additions and 1 deletions
|
@ -83,6 +83,7 @@
|
|||
<table id="users" name="users" class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th>Username</th>
|
||||
<th>Real name</th>
|
||||
<th>Last Activity</th>
|
||||
|
@ -93,7 +94,8 @@
|
|||
{% userUsers as users %}
|
||||
{% for auser in users %}
|
||||
<tr data-orga="{% directOrgaAjax auser %}">
|
||||
<td><div style="display:inline;" {% if user.is_superuser %}title="{% directOrgaString auser %}"{% endif %}>{% if auser.is_superuser %}<i class="fas fa-concierge-bell" style="color:gold;" title="Technical Support"></i> {% endif %}{% if auser.is_staff %}<b>{% endif %}{{ auser.username }}{% if auser.is_staff %}</b>{% endif %}</div></td>
|
||||
<td>{% if auser.is_superuser %}<i class="fas fa-concierge-bell" style="color:gold;" title="Technical Support"></i> {% endif %}</td>
|
||||
<td><div style="display:inline;" {% if user.is_superuser %}title="{% directOrgaString auser %}"{% endif %}>{% if auser.is_staff %}<b>{% endif %}{{ auser.username }}{% if auser.is_staff %}</b>{% endif %}</div></td>
|
||||
<td>{% if auser.is_staff %}<b>{% endif %}{{ auser.first_name }} {{ auser.last_name }}{% if auser.is_staff %}</b>{% endif %}</td>
|
||||
<td>{{ auser.userstatus.last_action }}</td>
|
||||
<td>{% if user.is_staff %}<a href="/users/{{ auser.id }}/edit"><i class="fas fa-edit" title="Edit User"></i></a> {% endif %}{% if auser.email %}<a href="mailto:{{ auser.email }}"><i class="fas fa-envelope" title="Send Email"></i></a>{% endif %}{% if user.is_superuser %} <a href="#"><i style="color: darkred;" onclick="askdeleteuser({{ auser.id }});" class="fas fa-trash-alt" title="Delete User"></i></a>{% endif %}</td>
|
||||
|
|
|
@ -149,3 +149,5 @@ CELERY_RESULT_BACKEND = 'django-db'
|
|||
CELERY_WORKER_CONCURRENCY = 1
|
||||
CELERY_WORKER_PREFETCH_MULTIPLIER = 1
|
||||
CELERY_ACCEPT_CONTENT = ['json', 'pickle']
|
||||
|
||||
ADMINS = [("Kumi Systems", "support@kumi.systems")]
|
||||
|
|
Loading…
Reference in a new issue