link to detail view rather than update view in the tables, shine up the detail views a bit
This commit is contained in:
parent
743cf25476
commit
4720b34021
|
@ -3,18 +3,15 @@
|
|||
|
||||
{% block program_content %}
|
||||
|
||||
<h2>{{ camp.title }} Event Proposal Details</h2>
|
||||
|
||||
<ul>
|
||||
<li class="list">Status: <span class="badge">{{ eventproposal.proposal_status }}</span></li>
|
||||
<li class="list">ID: <span class="badge">{{ eventproposal.uuid }}</span></li>
|
||||
</ul>
|
||||
<h2>{{ eventproposal.title }} Details</h2>
|
||||
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">{{ eventproposal.title }}</div>
|
||||
<div class="panel-body">
|
||||
{{ eventproposal.abstract|commonmark }}
|
||||
<a href="{% url 'program:eventproposal_update' camp_slug=camp.slug pk=eventproposal.uuid %}" class="btn btn-primary btn-sm pull-right"><i class="fas fa-edit"></i><span class="h5"> Modify</span></a>
|
||||
</div>
|
||||
<div class="panel-footer">Status: <span class="badge">{{ eventproposal.proposal_status }}</span> ID: <span class="badge">{{ eventproposal.uuid }}</span></div>
|
||||
</div>
|
||||
|
||||
<div class="panel panel-default">
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<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 person in eventproposal.speakers.all %}<a href="{% url 'program:speakerproposal_update' camp_slug=camp.slug pk=person.uuid %}"><i class="fas fa-user" data-toggle="tooltip" title="{{ person.name }}"></i></a> {% endfor %}</span></td>
|
||||
<td><span class="h4">{% for person in eventproposal.speakers.all %}<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> {% endfor %}</span></td>
|
||||
<td><span class="h4">{{ eventproposal.track.name }}</span></td>
|
||||
<td><span class="badge">{{ eventproposal.proposal_status }}</span></td>
|
||||
<td class='text-right'>
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<td class="text-center">
|
||||
{% if speakerproposal.eventproposals.all %}
|
||||
{% for ep in speakerproposal.eventproposals.all %}
|
||||
<a href="{% url 'program:eventproposal_update' camp_slug=camp.slug pk=ep.uuid %}"><i class="fas fa-{{ ep.event_type.icon }} fa-lg" style="color: {{ ep.event_type.color }};" data-toggle="tooltip" title="{{ ep.title }} ({{ ep.event_type.name }})"></i></a>
|
||||
<a href="{% url 'program:eventproposal_detail' camp_slug=camp.slug pk=ep.uuid %}"><i class="fas fa-{{ ep.event_type.icon }} fa-lg" style="color: {{ ep.event_type.color }};" data-toggle="tooltip" title="{{ ep.title }} ({{ ep.event_type.name }})"></i></a>
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
N/A
|
||||
|
|
|
@ -3,18 +3,14 @@
|
|||
|
||||
{% block program_content %}
|
||||
|
||||
<h2>{{ camp.title }} Speaker Proposal Details</h2>
|
||||
|
||||
<ul>
|
||||
<li class="list">Status: <span class="badge">{{ speakerproposal.proposal_status }}</span></li>
|
||||
<li class="list">ID: <span class="badge">{{ speakerproposal.uuid }}</span></li>
|
||||
</ul>
|
||||
<h2>{{ speakerproposal.name }} Details</h2>
|
||||
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">{{ speakerproposal.name }}</div>
|
||||
<div class="panel-body">
|
||||
{{ speakerproposal.biography|commonmark }}
|
||||
</div>
|
||||
<div class="panel-footer">Status: <span class="badge">{{ speakerproposal.proposal_status }}</span> | ID: <span class="badge">{{ speakerproposal.uuid }}</span></div>
|
||||
</div>
|
||||
|
||||
<div class="panel panel-default">
|
||||
|
|
Loading…
Reference in a new issue