Skip to content
Extraits de code Groupes Projets
Valider 40d09084 rédigé par Benjamin - Le Filament's avatar Benjamin - Le Filament
Parcourir les fichiers

[update] event kanban view

parent d662771c
Branches
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -55,9 +55,7 @@ ...@@ -55,9 +55,7 @@
</p> </p>
</t> </t>
<t t-else=""> <t t-else="">
<t <t t-if="event.date_begin &gt; datetime.datetime.now()">
t-if="event.date_begin &gt; datetime.datetime.now()"
>
<button <button
t-att-data-event="event.id" t-att-data-event="event.id"
class="btn btn-primary event_subscribe" class="btn btn-primary event_subscribe"
...@@ -118,9 +116,7 @@ ...@@ -118,9 +116,7 @@
t-as="p" t-as="p"
> >
<li> <li>
<strong><span <strong><span t-field="p.display_name" /></strong>
t-field="p.display_name"
/></strong>
<br /> <br />
<span t-field="p.summary" /> <span t-field="p.summary" />
</li> </li>
...@@ -164,9 +160,7 @@ ...@@ -164,9 +160,7 @@
<hr /> <hr />
<h5>Intervenant(s)</h5> <h5>Intervenant(s)</h5>
<t t-if="event.provider_id"> <t t-if="event.provider_id">
<span <span t-field="event.provider_id.name" />
t-field="event.provider_id.name"
/>
</t> </t>
<t t-else=""> <t t-else="">
Alter'Incub Alter'Incub
...@@ -193,9 +187,7 @@ ...@@ -193,9 +187,7 @@
<!-- Seats number --> <!-- Seats number -->
<hr /> <hr />
<h5>Participants</h5> <h5>Participants</h5>
<span <span t-field="event.seats_expected" />
t-field="event.seats_expected"
/>
participant(s) participant(s)
</div> </div>
</div> </div>
......
...@@ -307,7 +307,8 @@ ...@@ -307,7 +307,8 @@
>font-weight: bold; font-size: 1.2rem;margin-bottom: 4px;</attribute> >font-weight: bold; font-size: 1.2rem;margin-bottom: 4px;</attribute>
</xpath> </xpath>
<xpath expr="//templates/t/div/div/div/div/div" position="inside"> <xpath expr="//templates/t/div/div/div/div/div" position="inside">
<t t-if="record.is_optional.raw_value"><i> (facultative)</i></t> <t t-if="record.is_optional.raw_value"><br /><i
>(facultative)</i></t>
</xpath> </xpath>
<!-- Add fields --> <!-- Add fields -->
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter