Don't show feedback links for future events
This commit is contained in:
parent
040cc805b2
commit
8ac0bcade6
|
@ -16,6 +16,7 @@
|
|||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% set today = 'today'|date('Y-m-d') %}
|
||||
{% for row in events %}
|
||||
<tr class="striped--near-white">
|
||||
<td class="pa2">
|
||||
|
@ -64,7 +65,7 @@
|
|||
|
||||
{% if not upcoming %}
|
||||
<td class="ph2">
|
||||
{% if row.date.feedback %}
|
||||
{% if row.date.feedback and row.date.date <= today %}
|
||||
<a
|
||||
href="{{ row.date.feedback }}"
|
||||
class="bg-blue br2 pa2 white-90 no-underline dib dim"
|
||||
|
|
Loading…
Reference in a new issue