Add joind.in buttons
This commit is contained in:
parent
bfe71518a5
commit
e23718a481
3 changed files with 20 additions and 3 deletions
|
@ -1,17 +1,18 @@
|
|||
<div class="table-responsive">
|
||||
<table class="table table-striped">
|
||||
<table class="talk-event-table table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Date</th>
|
||||
<th class="date">Date</th>
|
||||
{% if show_talk %}<th>Talk</th>{% endif %}
|
||||
<th>Event</th>
|
||||
<th class="feedback">Feedback</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% set events = reverse_order ? events|sortbyfield('date')|reverse : events|sortbyfield('date') %}
|
||||
{% for event in events %}
|
||||
<tr>
|
||||
<td>
|
||||
<td class="date">
|
||||
{{ event.date|date('j F Y') }}
|
||||
</td>
|
||||
|
||||
|
@ -28,6 +29,14 @@
|
|||
{{ event.title }}
|
||||
{% if event.website %}</a>{% endif %}
|
||||
</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>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue