Merge branch 'feature/childs-11-06-19' into 'master'

несолько детей

See merge request lilschool/site!322
remotes/origin/feature/drawing-camp
Danil 7 years ago
commit 8537342663
  1. 7
      apps/notification/templates/notification/email/camp_certificate.html
  2. 2
      web/src/components/Childs.vue

@ -16,6 +16,13 @@
Скачивайте. Распечатывайте. И соберите свою коллекцию!
</p>
{% endif %}
{% if certificate_number == 3 %}
<p>
Поздравляем с успешным окончаниемм рисовального лагеря!<br>
В письме вы найдёте {% if many_childs %}грамоты, они{% else %}грамоту, она{% endif %} для вашей семьи.<br>
До встречи в онлайн школе!
</p>
{% endif %}
</div>
<div style="margin-bottom: 10px;">
<p>

@ -9,7 +9,7 @@
<div class="user-child-form__tabs tabs__nav">
<a class="user-child-form__tab tabs__btn" v-for="(child, index) in childs" :key="index" href="#"
v-bind:class="{active: selectedIndex == index}" @click.prevent="select(index)">
{{ child.first_name ? (child.first_name + '&nbsp;' + child.last_name) : ('Ребенок ' + index) }}</a>
{{ child.first_name ? (child.first_name + '&nbsp;' + child.last_name) : ('Ребенок ' + (index || '')) }}</a>
<a href="#" class="tabs__btn" @click.prevent="add()">Добавить ребенка</a>
</div>
</div>

Loading…
Cancel
Save