X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/b899f584abdfe9345c90563bf28661756c959356..a74c48a5de6d9a00f76f7c10b41bd4a26691a22f:/redakcja/templates/main.html diff --git a/redakcja/templates/main.html b/redakcja/templates/main.html index 011ca0b6..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 %} @@ -26,10 +26,9 @@ {% trans "Create and share your resources
Start tutorial" %}
- {% trans "App Your School" %} {#{% trans "Competition" %}#}

{% trans "Joint project by:" %}

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