Add joind.in buttons
This commit is contained in:
parent
bfe71518a5
commit
e23718a481
|
@ -9,3 +9,10 @@
|
||||||
min-height: 460px
|
min-height: 460px
|
||||||
+desktop
|
+desktop
|
||||||
min-height: 680px
|
min-height: 680px
|
||||||
|
|
||||||
|
.talk-event-table
|
||||||
|
.date
|
||||||
|
width: 20%
|
||||||
|
|
||||||
|
.feedback
|
||||||
|
width: 15%
|
||||||
|
|
|
@ -1,17 +1,18 @@
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table class="table table-striped">
|
<table class="talk-event-table table table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Date</th>
|
<th class="date">Date</th>
|
||||||
{% if show_talk %}<th>Talk</th>{% endif %}
|
{% if show_talk %}<th>Talk</th>{% endif %}
|
||||||
<th>Event</th>
|
<th>Event</th>
|
||||||
|
<th class="feedback">Feedback</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{% set events = reverse_order ? events|sortbyfield('date')|reverse : events|sortbyfield('date') %}
|
{% set events = reverse_order ? events|sortbyfield('date')|reverse : events|sortbyfield('date') %}
|
||||||
{% for event in events %}
|
{% for event in events %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td class="date">
|
||||||
{{ event.date|date('j F Y') }}
|
{{ event.date|date('j F Y') }}
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
|
@ -28,6 +29,14 @@
|
||||||
{{ event.title }}
|
{{ event.title }}
|
||||||
{% if event.website %}</a>{% endif %}
|
{% if event.website %}</a>{% endif %}
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
|
<td class="feedback">
|
||||||
|
{% if event.talk.joindin %}
|
||||||
|
<a href="{{ event.talk.joindin }}" class="btn btn-primary" title="Read or leave feedback for this talk">
|
||||||
|
<i class="fa fa-comment-o"></i> joind.in
|
||||||
|
</a>
|
||||||
|
{% endif %}
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
|
@ -7,6 +7,7 @@ slides:
|
||||||
video:
|
video:
|
||||||
url: https://www.youtube.com/watch?v=5FYMRR61sdo
|
url: https://www.youtube.com/watch?v=5FYMRR61sdo
|
||||||
embed: '<iframe width="560" height="315" src="https://www.youtube.com/embed/5FYMRR61sdo" frameborder="0" allowfullscreen></iframe>'
|
embed: '<iframe width="560" height="315" src="https://www.youtube.com/embed/5FYMRR61sdo" frameborder="0" allowfullscreen></iframe>'
|
||||||
|
joindin: https://joind.in/event/phpsw-new-skills-february-2017/it-started-with-a-patch
|
||||||
events:
|
events:
|
||||||
- { id: phpsw, date: '2017-02-08' }
|
- { id: phpsw, date: '2017-02-08' }
|
||||||
---
|
---
|
||||||
|
|
Loading…
Reference in a new issue