Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
Put a class instead of hardcoded style for finished events.
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Turner committed Jun 5, 2017
1 parent 63c610e commit 1a6d414
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion icekit_events/templates/plugins/link/event.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% if instance.include_even_when_finished or not instance.item.has_finished %}
{% if instance.get_item.has_finished %}<div style="opacity:0.4">{% endif %}
{% if instance.get_item.has_finished %}<div class="event--finished">{% endif %}
{% include 'plugins/link/default.html' %}
{% if instance.get_item.has_finished %}</div>{% endif %}
{% endif %}

0 comments on commit 1a6d414

Please sign in to comment.