Delete user for admin.
parent
fa12cb0c18
commit
d632ca26ef
|
@ -205,9 +205,15 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</li>
|
</li>
|
||||||
{% if snipt.user != request.user %}
|
{% if snipt.user != request.user %}
|
||||||
<li class="report-spam">
|
{% if request.user.is_superuser %}
|
||||||
<a target="_blank" href="/report-spam/{{ snipt.id }}/">Report Spam</a>
|
<li class="report-spam">
|
||||||
</li>
|
<a target="_blank" href="/admin/auth/user/{{ snipt.user.id }}/delete/">Delete User</a>
|
||||||
|
</li>
|
||||||
|
{% else %}
|
||||||
|
<li class="report-spam">
|
||||||
|
<a target="_blank" href="/report-spam/{{ snipt.id }}/">Report Spam</a>
|
||||||
|
</li>
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if detail and snipt.public %}
|
{% if detail and snipt.public %}
|
||||||
<li class="tweet">
|
<li class="tweet">
|
||||||
|
|
Loading…
Reference in New Issue