43 lines
2.1 KiB
HTML
43 lines
2.1 KiB
HTML
<table class="table table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th>Title</th>
|
|
<th>Type</th>
|
|
<th>URLs</th>
|
|
<th>People</th>
|
|
<th>Track</th>
|
|
<th>Status</th>
|
|
{% if request.resolver_match.app_name == "program" %}
|
|
<th class='text-right'>Available Actions</th>
|
|
{% endif %}
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for eventproposal in eventproposals %}
|
|
<tr>
|
|
<td><span class="h4">{{ eventproposal.title }}</span></td>
|
|
<td><i class="fas fa-{{ eventproposal.event_type.icon }} fa-lg" style="color: {{ eventproposal.event_type.color }};"></i><span class="h4"> {{ eventproposal.event_type }}</span></td>
|
|
<td><span class="h4">{% for url in eventproposal.urls.all %}<a href="{{ url.url }}" target="_blank"><i class="fas fa-{{ url.urltype.icon }}" data-toggle="tooltip" title="{{ url.urltype.name }}"></i></a> {% empty %}N/A{% endfor %}</span></td>
|
|
<td><span class="h4">
|
|
{% for person in eventproposal.speakers.all %}
|
|
{% if request.resolver_match.app_name == "program" %}
|
|
<a href="{% url 'program:speakerproposal_detail' camp_slug=camp.slug pk=person.uuid %}"><i class="fas fa-user" data-toggle="tooltip" title="{{ person.name }}"></i></a>
|
|
{% else %}
|
|
<i class="fas fa-user" data-toggle="tooltip" title="{{ person.name }}"></i>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</span></td>
|
|
<td><span class="h4">{{ eventproposal.track.name }}</span></td>
|
|
<td><span class="badge">{{ eventproposal.proposal_status }}</span></td>
|
|
{% if request.resolver_match.app_name == "program" %}
|
|
<td class='text-right'>
|
|
<a href="{% url 'program:eventproposal_detail' camp_slug=camp.slug pk=eventproposal.uuid %}" class="btn btn-primary btn-sm">
|
|
<i class="fas fa-eye"></i><span class="h5"> Details</span>
|
|
</a>
|
|
</td>
|
|
{% endif %}
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|