hegresphere/templates/announcement/list.html.twig

22 lines
618 B
Twig
Raw Permalink Normal View History

{% extends 'base.html.twig' %}
{% block title %}Bienvenue sur Hegreshpere{% endblock %}
{% block body %}
<style>
.example-wrapper { margin: 1em auto; max-width: 800px; width: 95%; font: 18px/1.5 sans-serif; }
.example-wrapper code { background: #F5F5F5; padding: 2px 6px; }
</style>
<h1> Liste des annonces</h1>
{% for ann in announcements %}
<h2> {{ ann.title }} </h2>
<h3> {{ ann.company.name }} </h3>
<p> {{ ann.description }} </p>
2024-11-21 17:04:56 +01:00
------------------------------
2024-11-23 15:05:14 +01:00
<p> {{ ann.creationDate|format("") }} </p>
{% endfor %}
{% endblock %}