make slot edit just a link on existing presentation title
This commit is contained in:
parent
0539a10921
commit
968e9f4ee6
1 changed files with 1 additions and 5 deletions
|
@ -14,12 +14,8 @@
|
|||
{% if not slot.content %}
|
||||
<a class="btn btn-mini edit-slot" data-action="{% url schedule_slot_edit slot.pk %}" href="#">+</a>
|
||||
{% else %}
|
||||
<div class="title">{{ slot.content.title }}</div>
|
||||
<div class="title"><a class="edit-slot" data-action="{% url schedule_slot_edit slot.pk %}" href="#">{{ slot.content.title }}</a></div>
|
||||
<div class="speaker">{{ slot.content.speaker }}</div>
|
||||
|
||||
<span class="schedule-controls">
|
||||
<a class="btn btn-mini edit-slot" data-action="{% url schedule_slot_edit slot.pk %}" href="#">Edit</a>
|
||||
</span>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{{ slot.kind.label }}
|
||||
|
|
Loading…
Reference in a new issue