Files
@ 34509d23eb9f
Branch filter:
Location: symposion_app/pinaxcon/templates/symposion/speakers/speaker_profile.html - annotation
34509d23eb9f
1.8 KiB
text/html
Make vendored symposion into an installable Python package
This allows us to install with `pip install "-e vendor/symposion"` similar to
the other vendored packages. There's no good reason for this to be different to
the others and depend on PYTHONPATH hacking.
Re-add
This allows us to install with `pip install "-e vendor/symposion"` similar to
the other vendored packages. There's no good reason for this to be different to
the others and depend on PYTHONPATH hacking.
Re-add
929388220cfc 04f246d85071 04f246d85071 5409d4974aed 249adba527d9 04f246d85071 04f246d85071 249adba527d9 249adba527d9 249adba527d9 249adba527d9 249adba527d9 249adba527d9 249adba527d9 249adba527d9 249adba527d9 249adba527d9 249adba527d9 04f246d85071 ff16f71df6e8 929388220cfc 929388220cfc 929388220cfc 929388220cfc 929388220cfc 929388220cfc 929388220cfc 929388220cfc 929388220cfc 929388220cfc 249adba527d9 929388220cfc 929388220cfc 929388220cfc 929388220cfc 929388220cfc 929388220cfc 929388220cfc 929388220cfc 929388220cfc 929388220cfc 929388220cfc 929388220cfc 929388220cfc 929388220cfc 929388220cfc 929388220cfc 929388220cfc 929388220cfc 929388220cfc 929388220cfc 929388220cfc 929388220cfc 929388220cfc 04f246d85071 | {% extends "symposion/speakers/base.html" %}
{% load i18n %}
{% load lca2018_tags %}
{% load lca2019_tags %}
{% load thumbnail %}
{% block head_title %}Speaker - {{ speaker.name }}{% endblock %}
{% block page_title %}Speaker - {{ speaker.name }}{% endblock %}
{% block page_lead %}
{% if speaker.twitter_username %}
<a href="https://twitter.com/{{ speaker.twitter_username }}">{{ speaker.twitter_username|twitter_handle }}</a>
{% endif %}
{% if speaker.twitter_username and speaker.homepage %} | {% endif %}
{% if speaker.homepage %}
<a href="{{ speaker.homepage }}">{{ speaker.homepage }}</a>
{% endif %}
{% endblock %}
{% block content %}
<div class="row">
<div class="col-md-8">
{% if speaker.user == request.user or request.user.is_staff %}
<a class="btn btn-secondary float-right" href="{% url "speaker_edit" speaker.pk %}">Edit</a>
{% endif %}
<h3>Biography</h3>
<div class="bio">{{ speaker.biography_html|safe }}</div>
<h3 class="my-4">Presentations</h3>
<ul>
{% for presentation in presentations %}
<li>
<a href="{% url "schedule_presentation_detail" presentation.pk %}">{{ presentation.title }}</a>
{% if presentation.slot %}
–
{{ presentation.slot.day.date|date:"l" }}
{{ presentation.slot.start}}–{{ presentation.slot.end }}
in
{{ presentation.slot.rooms|join:", " }}
{% endif %}
</li>
{% empty %}
<li>No presentations. This page is only visible to staff until there is a presentation.</li>
{% endfor %}
</ul>
</div>
<div class="col-md-4">
{% speaker_photo speaker 512 as speaker_photo_url %}
<img src="{{ speaker_photo_url }}" alt="{{ speaker.name }}" class="rounded-circle img-fluid">
</div>
</div>
{% endblock %}
|