This repository was archived by the owner on Apr 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 64
Expand file tree
/
Copy pathpreview.html
More file actions
81 lines (73 loc) · 2.58 KB
/
preview.html
File metadata and controls
81 lines (73 loc) · 2.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{% extends "ep19/bs/base.html" %}
{% block content %}
<div class="container page" id="cfp_page">
<div class="row">
<div class="col-md-12">
<h1>{{ talk_as_dict.title }}</h1>
<h3>{{ talk_as_dict.subtitle }}</h3>
</div>
</div>
<div class="row">
<div class="col-md-8">
<div>
Type: {{ talk_as_dict.type_display }}<br>
Python level: {{ talk_as_dict.python_level }}<br>
Domain level: {{ talk_as_dict.domain_level }}<br>
Tags:
{% for tag in talk_as_dict.tags %}
<span class='btn btn-outline-info'>{{ tag }}</span>
{% endfor %}
</div>
<hr>
<div>
{{ talk_as_dict.abstract_short|linebreaks }}
</div>
<hr>
<div>
{{ talk_as_dict.abstract|linebreaks }}
</div>
<hr>
<div>
{{ talk_as_dict.abstract_extra|linebreaks }}
</div>
<hr>
<div style='margin-top:5em'>
{% if cfp_is_open and talk.created_by == request.user %}
<a href='{% url "cfp:update" talk.uuid %}' class='btn btn-outline-success'>Update proposal</a>
{% endif %}
{% if user.is_staff %}
<a href='{% url "admin:conference_talk_change" talk.id %}' class='btn btn-outline-danger'>See in Admin</a>
{% endif %}
</div>
{% if not current_user_is_speaker %}
<form method='POST' action='.'>
{% csrf_token %}
<input name="{{ ADD_CO_SPEAKER }}" type="hidden" value="true">
<button class='btn btn-primary'>Add yourself as co-speaker</button>
</form>
{% endif %}{# current_user_is_speaker #}
</div>
<div class='col-md-4'>
<h4>Speaker information:</h4>
{% for speaker in talk_as_dict.speakers %}
<ul>
<li><b>Name:</b> {{ speaker.name }}</li>
<li><b>Company</b>
{{ speaker.company }}
<br>
{{ speaker.company_homepage }}
</li>
<li>
<b>Bio</b><br>
{{ speaker.bio|linebreaks }}
</li>
<li>
<b>Phone</b><br>
{{ speaker.phone }}
</li>
</ul>
{% endfor %}
</div>
</div>
</div>
{% endblock %}