masonry: add origin bloc

This commit is contained in:
Mathieu Jaumotte 2021-12-29 12:32:19 +01:00
parent 982dd78828
commit 9e67d9586d
2 changed files with 12 additions and 0 deletions

View File

@ -70,6 +70,7 @@
<div class="comment"> <div class="comment">
<h4 class="item-key visually-hidden">{{ 'Pinned comment'|trans }}</h4> <h4 class="item-key visually-hidden">{{ 'Pinned comment'|trans }}</h4>
<blockquote class="chill-user-quote"> <blockquote class="chill-user-quote">
<i class="fa fa-flag float-end text-secondary" title="{{ 'pinned'|trans }}"></i>
{{ accompanyingCourse.pinnedComment.content|chill_markdown_to_html }} {{ accompanyingCourse.pinnedComment.content|chill_markdown_to_html }}
<div class="metadata"> <div class="metadata">
{{ 'Last updated by'| trans }} {{ 'Last updated by'| trans }}
@ -138,6 +139,16 @@
</div> </div>
</div> </div>
{% endif %} {% endif %}
{% if accompanyingCourse.origin is not empty %}
<div class="mbloc col col-sm-6 col-lg-4">
<div class="origin">
<h4 class="item-key">{{ 'Origin'|trans }}</h4>
{{ accompanyingCourse.origin.label|localize_translatable_string|capitalize }}
</div>
</div>
{% endif %}
</div> </div>
<div class="social-actions my-4"> <div class="social-actions my-4">

View File

@ -215,6 +215,7 @@ Some peoples does not belong to any household currently. Add them to an househol
Add to household now: Ajouter à un ménage Add to household now: Ajouter à un ménage
Any resource for this accompanying course: Aucun interlocuteur privilégié pour ce parcours Any resource for this accompanying course: Aucun interlocuteur privilégié pour ce parcours
course.draft: Brouillon course.draft: Brouillon
Origin: Origine de la demande
# pickAPersonType # pickAPersonType
Pick a person: Choisir une personne Pick a person: Choisir une personne