X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/b899f584abdfe9345c90563bf28661756c959356..2608b2bb8cf7acf29feb42ddd8213bd884ae535a:/redakcja/templates/main.html diff --git a/redakcja/templates/main.html b/redakcja/templates/main.html index 011ca0b6..51ef989c 100644 --- a/redakcja/templates/main.html +++ b/redakcja/templates/main.html @@ -1,12 +1,12 @@ {% extends "catalogue/base.html" %} {% load i18n %} {% load thumbnail %} -{% load catalogue_files %} +{% load static %} {% block content %} -
+
@@ -47,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 %} @@ -69,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" %}

@@ -99,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" %}