diff --git a/static/source/css/global.styl b/static/source/css/global.styl index f313eedd7..2f53bdad3 100644 --- a/static/source/css/global.styl +++ b/static/source/css/global.styl @@ -277,7 +277,7 @@ span.highlighted-number padding: 0 background: url('../img/global/krakow.png') no-repeat background-size: cover - width: calc(33% - 30px) + width: 90% height: 210px text-align: center color: white diff --git a/templates/admin/organize/eventapplication/change_form.html b/templates/admin/organize/eventapplication/change_form.html index 25fc0bf65..97bb319d2 100644 --- a/templates/admin/organize/eventapplication/change_form.html +++ b/templates/admin/organize/eventapplication/change_form.html @@ -7,6 +7,7 @@ {% endblock %} {% block object-tools %} + {% if original %}

{% trans "Triaging" %}

@@ -30,5 +31,6 @@

{% trans "Triaging" %}

{% endif %}
+ {% endif %} {{ block.super }} {% endblock %} diff --git a/templates/core/events.html b/templates/core/events.html index b0f5316b3..314e13abe 100644 --- a/templates/core/events.html +++ b/templates/core/events.html @@ -14,12 +14,13 @@

-
- {% for event in future_events %} - {% include 'includes/_event.html' with event=event %} - {% if forloop.counter|divisibleby:3 %}
{% endif %} - {% endfor %} -
+ {% for event in future_events %} + {% if forloop.first %}
{% endif %} +
+ {% include 'includes/_event.html' with event=event %}
+ {% if forloop.counter|divisibleby:3 %}
{% endif %} + {% if forloop.last %}
{% endif %} + {% endfor %}
{% include 'includes/_no_event.html' %} @@ -31,12 +32,13 @@

{% trans "Past events" %}

-
{% for event in past_events %} - {% include 'includes/_event.html' with event=event %} + {% if forloop.first %}
{% endif %} +
+ {% include 'includes/_event.html' with event=event %}
{% if forloop.counter|divisibleby:3 %}
{% endif %} - {% endfor %} -
+ {% if forloop.last %}
{% endif %} + {% endfor %}
{% endblock %} diff --git a/templates/core/index.html b/templates/core/index.html index 58e7de8ef..d50e7fe00 100644 --- a/templates/core/index.html +++ b/templates/core/index.html @@ -97,12 +97,13 @@

-
{% for event in future_events %} - {% include 'includes/_event.html' with event=event %} + {% if forloop.first %}
{% endif %} +
+ {% include 'includes/_event.html' with event=event %}
{% if forloop.counter|divisibleby:3 %}
{% endif %} - {% endfor %} -
+ {% if forloop.last %}
{% endif %} + {% endfor %}
diff --git a/templates/event/menu.html b/templates/event/menu.html index 2f72e4940..1b8f6a83d 100644 --- a/templates/event/menu.html +++ b/templates/event/menu.html @@ -1,22 +1,16 @@ {% load core_tags i18n static %} -