remove action buttons from proposal list, they can be found in the detail views, helps a lot with the width issues when things have long names
This commit is contained in:
parent
24371b629a
commit
9052526264
|
@ -20,18 +20,9 @@
|
||||||
<td><span class="h4">{{ eventproposal.track.name }}</span></td>
|
<td><span class="h4">{{ eventproposal.track.name }}</span></td>
|
||||||
<td><span class="badge">{{ eventproposal.proposal_status }}</span></td>
|
<td><span class="badge">{{ eventproposal.proposal_status }}</span></td>
|
||||||
<td class='text-right'>
|
<td class='text-right'>
|
||||||
<a href="{% url 'program:eventproposal_detail' camp_slug=camp.slug pk=eventproposal.uuid %}"
|
<a href="{% url 'program:eventproposal_detail' camp_slug=camp.slug pk=eventproposal.uuid %}" class="btn btn-primary btn-sm">
|
||||||
class="btn btn-primary btn-sm">
|
<i class="fas fa-eye"></i><span class="h5"> Details</span>
|
||||||
<i class="fas fa-eye"></i><span class="h5"> Detail</span></a>
|
</a>
|
||||||
{% if not camp.read_only %}
|
|
||||||
<a href="{% url 'program:eventproposal_update' camp_slug=camp.slug pk=eventproposal.uuid %}" class="btn btn-primary btn-sm"><i class="fas fa-edit"></i><span class="h5"> Modify</span></a>
|
|
||||||
<a href="{% url 'program:eventproposalurl_create' camp_slug=camp.slug event_uuid=eventproposal.uuid %}" class="btn btn-success btn-sm"><i class="fas fa-plus"></i><span class="h5"> Add URL</span></a>
|
|
||||||
{% if eventproposal.get_available_speakerproposals.exists %}
|
|
||||||
<a href="{% url 'program:eventproposal_selectperson' camp_slug=camp.slug event_uuid=eventproposal.uuid %}" class="btn btn-success btn-sm"><i class="fas fa-plus"></i><span class="h5"> Add {{ eventproposal.event_type.host_title }}</span></a>
|
|
||||||
{% else %}
|
|
||||||
<a href="{% url 'program:speakerproposal_create' camp_slug=camp.slug event_uuid=eventproposal.uuid %}" class="btn btn-success btn-sm"><i class="fas fa-plus"></i><span class="h5"> Add {{ eventproposal.event_type.host_title }}</span></a>
|
|
||||||
{% endif %}
|
|
||||||
{% endif %}
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
|
@ -30,16 +30,9 @@
|
||||||
</td>
|
</td>
|
||||||
<td><span class="badge">{{ speakerproposal.proposal_status }}</span></td>
|
<td><span class="badge">{{ speakerproposal.proposal_status }}</span></td>
|
||||||
<td class="text-right">
|
<td class="text-right">
|
||||||
<a href="{% url 'program:speakerproposal_detail' camp_slug=camp.slug pk=speakerproposal.uuid %}"
|
<a href="{% url 'program:speakerproposal_detail' camp_slug=camp.slug pk=speakerproposal.uuid %}" class="btn btn-primary btn-sm">
|
||||||
class="btn btn-primary btn-sm">
|
<i class="fas fa-eye"></i><span class="h5"> Details</span>
|
||||||
<i class="fas fa-eye"></i><span class="h5"> Detail</span></a>
|
</a>
|
||||||
{% if not camp.read_only %}
|
|
||||||
<a href="{% url 'program:speakerproposal_update' camp_slug=camp.slug pk=speakerproposal.uuid %}" class="btn btn-primary btn-sm"><i class="fas fa-edit"></i><span class="h5"> Modify</span></a>
|
|
||||||
{% if eventproposal and eventproposal.speakers.count > 1 %}
|
|
||||||
<a href="{% url 'program:eventproposal_removeperson' camp_slug=camp.slug event_uuid=eventproposal.uuid speaker_uuid=speakerproposal.uuid %}" class="btn btn-danger btn-sm"><i class="fas fa-times"></i><span class="h5"> Remove</span></a>
|
|
||||||
{% endif %}
|
|
||||||
<a href="{% url 'program:speakerproposalurl_create' camp_slug=camp.slug speaker_uuid=speakerproposal.uuid %}" class="btn btn-success btn-sm"><i class="fas fa-plus"></i><span class="h5"> Add URL</span></a>
|
|
||||||
{% endif %}
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
|
@ -34,6 +34,7 @@
|
||||||
{% else %}
|
{% else %}
|
||||||
<i>Nothing found.</i>
|
<i>Nothing found.</i>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
<a href="{% url 'program:eventproposal_typeselect' camp_slug=camp.slug speaker_uuid=speakerproposal.uuid %}" class="btn btn-success btn-sm pull-right"><i class="fas fa-plus"></i><span class="h5"> Add New Event</span></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue