X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/5ae7908036c081c642aafd1c37dfaf9b94bf2445..2608b2bb8cf7acf29feb42ddd8213bd884ae535a:/redakcja/templates/main.html?ds=sidebyside diff --git a/redakcja/templates/main.html b/redakcja/templates/main.html index 64421c38..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 %} -
+
@@ -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" %}