diff --git a/src/pages/404.twig b/src/pages/404.twig new file mode 100644 index 0000000..124feee --- /dev/null +++ b/src/pages/404.twig @@ -0,0 +1,25 @@ +{% set bodyClasses = 'page' %} + +{% extends "../layout/page.twig" %} + +{% block breadcrumbs %} + + +{% endblock %} + +{% block content %} + + {% set text_404 = { + "key": "paragraph", + "content": "La pagina richiesta non esiste." + }%} + + {% include "../blocks/paragraph.twig" with {"block": text_404 } %} + + +{% endblock %} + diff --git a/src/pages/ateneo/concorsi.twig b/src/pages/ateneo/concorsi.twig new file mode 100644 index 0000000..f2374d1 --- /dev/null +++ b/src/pages/ateneo/concorsi.twig @@ -0,0 +1,101 @@ +{% extends "../../layout/archive.twig" %} + +{% set type = "tenders" %} + +{% block archive_col_1 %} + +{% endblock %} + +{% block posts %} + + {% for post in post_type.tenders.items %} +
+
+ +
+
+ Scaduto {{post.date|date('d.m.Y, H:s')}} +
+
+ +
+ + {{post.title}} + +
+
+ + {% for id in post.terms|slice(0,1) %} + {% set parent = id[0] %} + {% set terms = id[1] %} + {% set taxonomy = taxonomies.tenders.terms[parent] %} +
+

{{taxonomy.name}}

+

+ {% for term in terms %} + {% set term = taxonomies.tenders.terms[parent].items[term] %} + {{term.name}}{% if not loop.last %}, {% endif %} + {% endfor %} +

+
+ {% endfor %} +
+

Posti disponibili

+

{{post.seats}}

+
+ {% for id in post.terms|slice(1) %} + {% set parent = id[0] %} + {% set terms = id[1] %} + {% set taxonomy = taxonomies.tenders.terms[parent] %} +
+

{{taxonomy.name}}

+

+ {% for term in terms %} + {% set term = taxonomies.tenders.terms[parent].items[term] %} + {{term.name}}{% if not loop.last %}, {% endif %} + {% endfor %} +

+
+ {% endfor %} + {% for item in post.info %} +
+

{{item.label}}

+

{{item.text}}

+
+ {% endfor %} + +
+
+ +
+
+
+ {% set tender_links = { + "key": "links-list", + "classes": "", + "links_size": "sm", + "content": { + "list": [ + { + "name": "Vedi i materiali e l'esito", + "url": "#", + } + ] + } + } %} + + {% include "../../blocks/links-list.twig" with {'block': tender_links } %} +
+
+ {% endfor %} + +{% endblock %} + +{% block pagination %} + {% include "../../blocks/pagination.twig" %} +{% endblock %} \ No newline at end of file