-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
39 changed files
with
1,103 additions
and
1,632 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{% load common %} | ||
|
||
<table class="table"> | ||
<thead> | ||
<tr> | ||
<th>Request Type</th> | ||
<th>Requester</th> | ||
<th>Created</th> | ||
<th>Modified</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
{% for obj in pending_requests %} | ||
<tr> | ||
<td> | ||
<a href="{{ obj|get_detail_url:user }}" class="btn btn-dark btn-sm"> | ||
<i class="iconify" data-icon="mdi:eye"></i> | ||
{{ obj.get_request_type }} | ||
</a> | ||
</td> | ||
<td>{{ obj.requester.name }}</td> | ||
<td>{{ obj.date_created|date:"Y-m-d H:i" }}</td> | ||
<td>{{ obj.date_modified|date:"Y-m-d H:i" }}</td> | ||
</tr> | ||
{% empty %} | ||
<tr> | ||
<td colspan="4" class="text-center"> | ||
<em class="text-muted">No pending requests.</em> | ||
</td> | ||
</tr> | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.