Merge branch add-location-period into 'master'

This commit is contained in:
2021-08-17 18:37:07 +02:00
103 changed files with 6268 additions and 1082 deletions

View File

@@ -27,6 +27,11 @@
</a>
</span>
</div>
{% if accompanyingCourse.locationStatus == 'address' or accompanyingCourse.locationStatus == 'none' %}
<div class="alert alert-danger">
{{ 'This course is located at a temporarily address. You should locate this course to an user'|trans }}
</div>
{% endif %}
{% endif %}
<h1>{{ 'Resume Accompanying Course'|trans }}</h1>

View File

@@ -6,9 +6,9 @@
{% block content %}
<div class="accompanying_course_work-edit">
<h1>{{ block('title') }}</h1>
<h1>{{ block('title') }}</h1>
<div id="accompanying_course_work_edit"></div>
<div id="accompanying_course_work_edit"></div>
</div>
{% endblock %}

View File

@@ -58,6 +58,15 @@
(person.gender == 'man') ? 'man' : 'neuter' %}
<p class="moreinfo">
<i class="fa fa-fw {{ gender }}" title="{{ genderTitle|trans }}"></i>
{%- if person.deathdate is not null -%}
<time datetime="{{ person.deathdate|date('Y-m-d') }}" title="{{ 'Deathdate'|trans }}">
{{ 'Date of death'|trans({'deathdate': person.deathdate|format_date("medium") }) }}
</time>
{%- else -%}
<time datetime="{{ person.birthdate|date('Y-m-d') }}" title="{{ 'Birthdate'|trans }}">
{{ 'Born the date'|trans({'gender': person.gender,
'birthdate': person.birthdate|format_date("medium") }) }}
@@ -67,6 +76,8 @@
{{ 'years_old'|trans({ 'age': person.age }) }}
</span>
{%- endif -%}
{%- endif -%}
</p>
{%- endif -%}
{#- tricks to remove easily whitespace after template -#}