Comment code
This commit is contained in:
parent
9d584ae87a
commit
f833f1c46c
16 changed files with 201 additions and 40 deletions
|
|
@ -36,7 +36,6 @@ function getInfo() {
|
|||
if (asked.length >= 1) {
|
||||
$.getJSON("/api/members/club/?format=json&search="+asked, function(buttons){
|
||||
let selected_id = buttons.results.map((a => "#row-"+a.id));
|
||||
console.log(selected_id.join());
|
||||
$(".table-row,"+selected_id.join()).show();
|
||||
$(".table-row").not(selected_id.join()).hide();
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,13 @@
|
|||
<hr>
|
||||
|
||||
<div id="user_table">
|
||||
{% render_table table %}
|
||||
{% if table.data %}
|
||||
{% render_table table %}
|
||||
{% else %}
|
||||
<div class="alert alert-warning">
|
||||
{% trans "There is no pending user with this pattern." %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue