<script type="text/javascript">
$(document).ready(function() {
$("li#nav-request").addClass("active");
- $('table.requests').dataTable( {
- "sDom": "frtiS",
+ $('table.requests').dataTable({
+ "sDom": "frtiS",
"bScrollCollapse": true,
"bStateSave": true,
"bPaginate": false,
"bInfo": false,
"bAutoWidth": true,
"bAutoHeight": false,
- } );
+ });
});
function on_click_event() {
var ids = [];
<h2>From your authorities</h2>
</div>
{% if my_authorities %}
+<div class="col-md-12">
<table class="table-responsive requests">
+ <thead>
+ <tr>
+ <th>ID</th>
+ <th></th>
+ <th>Type</th>
+ <th>Authority</th>
+ <th>Info</th>
+ <th>Date</th>
+ <th>Status</th>
+ </tr>
+ </thead>
+ <tbody>
{% for authority, requests in my_authorities.items %}
{% for request in requests %}
{% endfor %}
{% endfor %}
+ </tbody>
</table>
+ </div>
{% else %}
<div class="col-md-12">
<i>There is no pending request waiting for validation.</i>