Quick fix for presentation detail
This commit is contained in:
parent
530be28407
commit
bbaaf75d9d
1 changed files with 24 additions and 22 deletions
|
@ -1,4 +1,4 @@
|
|||
{% extends "symposion/schedule/public_base.html" %}
|
||||
{% extends "site_base.html" %}
|
||||
|
||||
{% load lca2018_tags %}
|
||||
{% load sitetree %}
|
||||
|
@ -6,15 +6,7 @@
|
|||
{% load thumbnail %}
|
||||
|
||||
{% block head_title %}Presentation: {{ presentation.title }}{% endblock %}
|
||||
|
||||
{% block breadcrumbs %}{% sitetree_breadcrumbs from "main" %}{% endblock %}
|
||||
|
||||
{% block header_inset_image %}{% with audience=presentation.proposal.get_target_audience_display %}{% if audience == "Business" %}{% illustration "falls.svg" %}{% elif audience == "Community" %}{% illustration "bridge.svg" %}{% elif audience == "Developer"%}{% illustration "hobart.svg" %}{% elif audience == "User" %}{% illustration "antarctica.svg" %}{% else %}{% illustration "casino.svg" %}{% endif %}{% endwith %}{% endblock %}
|
||||
|
||||
{% block header_background_image %}{% presentation_bg_number presentation 4 as bg_number %}{% if bg_number == 0 %}{% static "lca2018/images/mt_anne_bg_optimised.jpg" %}{% elif bg_number == 1 %}{% static "lca2018/images/the_neck_bg_optimised.jpg" %}{% elif bg_number == 2 %}{% static "lca2018/images/snug_falls_bg_optimised.jpg" %}{% elif bg_number == 3 %}{% static "lca2018/images/sleepy_bay_bg_optimised.jpg" %}{% endif %}{% endblock %}
|
||||
|
||||
{% block header_title %}{{ presentation.title }}{% endblock %}
|
||||
|
||||
{% block body_class %}text-primary{% endblock body_class %}
|
||||
{% block header_paragraph %}
|
||||
<p>
|
||||
Presented by
|
||||
|
@ -34,23 +26,35 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="row">
|
||||
<div class="col-md-1"></div>
|
||||
<div class="col-12 col-md-10">
|
||||
<h1 class="mb-4 display-4">{{ presentation.title }}</h1>
|
||||
|
||||
<h2 class="mt-4 pt-4">Abstract</h2>
|
||||
<div class="abstract pb-4"><p>{{ presentation.abstract_html|urlize|safe }}</p></div>
|
||||
|
||||
<h2 class="mt-4">Presented by</h2>
|
||||
<ul class="list-unstyled">
|
||||
{% for speaker in presentation.speakers %}
|
||||
{# {% speaker_photo speaker 512 as speaker_photo_url %} #}
|
||||
{# {% include "_right_floating_image.html" with image_url=speaker_photo_url %} #}
|
||||
{# <p><strong><a href="{% url "speaker_profile" speaker.pk %}">{{ speaker }}</a></strong><br /> #}
|
||||
<p><strong>{{ speaker }}</strong><br />
|
||||
<div class="bio">{{ speaker.biography_html|safe}}</div></p>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% if presentation.unpublish %}
|
||||
<p><strong>Presentation not published.</strong></p>
|
||||
{% endif %}
|
||||
|
||||
<h2>Abstract</h2>
|
||||
|
||||
<div class="abstract">{{ presentation.abstract_html|urlize|safe }}</div>
|
||||
|
||||
<h2>Presented by</h2>
|
||||
{% comment %}
|
||||
... leave here for later
|
||||
<div class="presenters">
|
||||
{% for speaker in presentation.speakers %}
|
||||
{% speaker_photo speaker 512 as speaker_photo_url %}
|
||||
{% include "_right_floating_image.html" with image_url=speaker_photo_url %}
|
||||
|
||||
<h3>
|
||||
<a href="{% url "speaker_profile" speaker.pk %}">{{ speaker }}</a>
|
||||
|
||||
|
||||
{% if speaker.homepage or speaker.twitter_username %}
|
||||
<div class="btn-group">
|
||||
|
@ -68,9 +72,7 @@
|
|||
{% endif %}
|
||||
</h3>
|
||||
|
||||
<div class="bio">{{ speaker.biography_html|safe}}</div>
|
||||
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
{% endcomment %}
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in a new issue