-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' into au/event/feature/show_inactive_participants
- Loading branch information
Showing
74 changed files
with
1,966 additions
and
797 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
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
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
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
55 changes: 55 additions & 0 deletions
55
physionet-django/console/templates/console/event_archive.html
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,55 @@ | ||
{% extends "console/base_console.html" %} | ||
|
||
{% load static %} | ||
|
||
{% block title %}Archived Events{% endblock %} | ||
|
||
{% block local_css %} | ||
<link rel="stylesheet" type="text/css" href="{% static 'custom/css/pagination.css' %}"> | ||
{% endblock %} | ||
|
||
{% load console_templatetags %} | ||
|
||
{% block content %} | ||
<div class="card mb-3"> | ||
<div class="card-header"> | ||
Archived Events <span class="badge badge-pill badge-info">{{ event_archive.paginator.count }}</span> | ||
</div> | ||
<div class="card-body"> | ||
<div class="table-responsive"> | ||
<table class="table table-bordered"> | ||
<thead> | ||
<tr> | ||
<th>Event</th> | ||
<th>Event Type</th> | ||
<th>Host</th> | ||
<th>Created</th> | ||
<th>Started</th> | ||
<th>Ended</th> | ||
<th>Credentialing</th> | ||
<th>Training</th> | ||
<th>Manage</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
{% for event in event_archive %} | ||
<tr> | ||
<td><a href="{% url 'event_detail' event.slug %}">{{ event.title }}</a></td> | ||
<td>{{ event.get_category_display|title }}</td> | ||
<td>{{ event.host }}</td> | ||
<td>{{ event.added_datetime|date }}</td> | ||
<td>{{ event.start_date }}</td> | ||
<td>{{ event.end_date }}</td> | ||
<td><a href = "{% url 'credential_processing' %}?event={{ event.slug }}">View list</a></td> | ||
<td><a href = "{% url 'training_list' status='review' %}?event={{ event.slug }}">View list</a></td> | ||
<td><a href="{% url 'event_management' event.slug %}" class="btn btn-sm btn-primary" role="button">Manage</a></td> | ||
</tr> | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
{% include "console/pagination.html" with pagination=events %} | ||
</div> | ||
</div> | ||
</div> | ||
{% endblock %} | ||
|
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.