NDOJ/templates/admin/judge/profile/change_form.html

21 lines
590 B
HTML
Raw Permalink Normal View History

2020-01-21 06:35:58 +00:00
{% extends "admin/change_form.html" %}
{% load i18n %}
{% block extrahead %}{{ block.super }}
2023-01-27 23:11:10 +00:00
<script>
django.jQuery(function ($) {
$('.userlink').appendTo('div#bottombar').show();
});
</script>
2020-01-21 06:35:58 +00:00
{% endblock extrahead %}
{% block after_field_sets %}{{ block.super }}
2023-01-27 23:11:10 +00:00
{% if original %}
<a style="display: none" title="{% trans "Edit user" %}" href="{% url 'admin:auth_user_change' original.user.pk %}"
class="button userlink">
<i class="fa fa-lg fa-user"></i>
<span class="text">{% trans "Edit user" %}</span>
</a>
{% endif %}
2020-01-21 06:35:58 +00:00
{% endblock %}