1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Closes #2292: Remove the deprecated UserAction model

This commit is contained in:
Jeremy Stretch
2018-08-14 12:13:43 -04:00
parent 980d62d579
commit 5f66710fcd
11 changed files with 27 additions and 200 deletions

View File

@@ -21,9 +21,6 @@
<li{% ifequal active_tab "userkey" %} class="active"{% endifequal %}>
<a href="{% url 'user:userkey' %}">User Key</a>
</li>
<li{% ifequal active_tab "recent_activity" %} class="active"{% endifequal %}>
<a href="{% url 'user:recent_activity' %}">Recent Activity</a>
</li>
</ul>
</div>
<div class="col-sm-9 col-md-6">

View File

@@ -1,22 +0,0 @@
{% extends 'users/_user.html' %}
{% block title %}Recent Activity{% endblock %}
{% block usercontent %}
<table class="table table-hover">
<thead>
<tr>
<th>Time</th>
<th>Action</th>
</tr>
</thead>
<tbody>
{% for action in recent_activity %}
<tr>
<td>{{ action.time|date:'SHORT_DATETIME_FORMAT' }}</td>
<td>{{ action.icon }} {{ action.message|safe }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}