X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/154468a29ddb2a3ea4a078888be55c303a5239bb..a74c48a5de6d9a00f76f7c10b41bd4a26691a22f:/redakcja/templates/main.html diff --git a/redakcja/templates/main.html b/redakcja/templates/main.html index a6a9f415..7d28701e 100644 --- a/redakcja/templates/main.html +++ b/redakcja/templates/main.html @@ -1,7 +1,7 @@ {% extends "catalogue/base.html" %} {% load i18n %} {% load thumbnail %} -{% load catalogue_files %} +{% load static %} {% block content %} @@ -28,7 +28,7 @@
{#{% trans "Competition" %}#}

{% trans "Joint project by:" %}

- +
@@ -46,7 +46,7 @@

{% trans "See active organizations and join" %}

{% for org in organizations %} -
+
{% if org.logo %} {% thumbnail org.logo "160x100" format="PNG" padding=True as th %} @@ -68,27 +68,7 @@

{% trans "Finished resources" %}

{% for doc in finished %} -
+ {% include "catalogue/resource_box.html" with link_url='catalogue_html' %} {% endfor %} {% if more_finished %}

{% trans "More finished resources" %}

@@ -98,27 +78,7 @@

{% trans "Upcoming resources" %}

{% for doc in upcoming %} - + {% include "catalogue/resource_box.html" with link_url='catalogue_preview' %} {% endfor %} {% if more_upcoming %}

{% trans "More upcoming resources" %}