Adding a back buton on event detail if noscript.
This commit is contained in:
parent
084d2cee6b
commit
c237d4ecc7
|
@ -2,7 +2,18 @@
|
|||
{% load commonmark %}
|
||||
|
||||
{% block program_content %}
|
||||
<div class="panel panel-default">
|
||||
|
||||
<div class="row">
|
||||
<noscript>
|
||||
<a href="{% url "noscript_schedule_index" camp_slug=camp.slug %}" class="btn btn-primary">
|
||||
Back to noscript schedule
|
||||
</a>
|
||||
<hr />
|
||||
</noscript>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading" ><span style="font-size: x-large"><span style="background-color: {{ event.event_type.color }}; border: 0; color: {% if event.event_type.light_text %}white{% else %}black{% endif %}; display: inline-block; padding: 5px;">{{ event.event_type.name }}</span> {{ event.title }}</span></div>
|
||||
<div class="panel-body">
|
||||
<p>
|
||||
|
@ -31,6 +42,7 @@
|
|||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock program_content %}
|
||||
|
||||
|
|
Loading…
Reference in a new issue