diff --git a/core/templates/index.html b/core/templates/index.html index fdf3fae..445f5b4 100644 --- a/core/templates/index.html +++ b/core/templates/index.html @@ -22,10 +22,26 @@ {% for campaign in game.campaigns %}
-

- {{ campaign.name }} -

Ends in: {{ campaign.end_at|timeuntil }}

-

+

{{ campaign.name }}

+

Ends in: {{ campaign.end_at|timeuntil }}

+ {% if campaign.description != campaign.name %} + {% if campaign.description|length|get_digit:"-1" > 100 %} +

+ +

+
+
{{ campaign.description }}
+
+
+ {% else %} +

{{ campaign.description }}

+ {% endif %} + {% endif %} {% for drop in campaign.drops %}