1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-12-24 08:22:22 +00:00
nk20/templates/registration/future_user_list.html

29 lines
722 B
HTML
Raw Normal View History

2020-04-05 04:40:03 +00:00
{% extends "base.html" %}
{% load render_table from django_tables2 %}
{% load crispy_forms_tags %}
{% load i18n %}
{% block content %}
<a href="{% url 'registration:signup' %}"><button class="btn btn-primary btn-block">{% trans "New user" %}</button></a>
2020-04-05 04:40:03 +00:00
<hr>
{% if table.data %}
<div id="user_table">
{% render_table table %}
</div>
{% else %}
<div class="alert alert-warning">
{% trans "There is no pending user." %}
</div>
{% endif %}
2020-04-05 04:40:03 +00:00
{% endblock %}
{% block extrajavascript %}
<script type="text/javascript">
$(".table-row").click(function() {
window.document.location = $(this).data("href");
});
</script>
{% endblock %}