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

{% trans "Joint project by:" %}

- +
@@ -46,16 +45,7 @@

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

{% for org in organizations %} -
- - {% if org.logo %} - {% thumbnail org.logo "160x100" format="PNG" padding=True as th %} - - {% endthumbnail %} - {% endif %} -
{{ org.name }}
-
-
+ {% include "organizations/organization_box.html" %} {% endfor %} {% if more_organizations %}

{% trans "More organizations" %}

@@ -68,27 +58,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 +68,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" %}