X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/4bd2e17cd78d68f91de71f5347dff12d5887d792..1f49ab5c41b30ea9ce3db87b72999b845681cd64:/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" %}