mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
review processed
This commit is contained in:
parent
4287ca37ae
commit
059a0b075c
@ -115,8 +115,3 @@ Version 1.5.14
|
||||
- [Person list] Add a lock/unlock icon instead of open/closed folder in result list;
|
||||
- [Admin closing motive] Remove links to Closing motive View;
|
||||
- [Admin closing motive] Improve icons for active in list of closing motive;
|
||||
|
||||
Version 1.5.15
|
||||
==============
|
||||
|
||||
- [RENDERBOX] If gender of person is not defined, no icon is displayed instead of neuter-icon
|
||||
|
@ -154,7 +154,7 @@ export default {
|
||||
}
|
||||
},
|
||||
getGenderIcon: function() {
|
||||
return this.person.gender === 'woman' ? 'fa-venus' : this.person.gender === 'man' ? 'fa-mars' : this.person.gender === 'neuter' ? 'fa-neuter' : '';
|
||||
return this.person.gender === 'woman' ? 'fa-venus' : this.person.gender === 'man' ? 'fa-mars' : this.person.gender === 'neuter' ? 'fa-neuter' : 'fa-genderless';
|
||||
},
|
||||
getGenderTranslation: function() {
|
||||
return this.person.gender === 'woman' ? 'renderbox.birthday.woman' : 'renderbox.birthday.man';
|
||||
|
@ -68,7 +68,7 @@
|
||||
</div>
|
||||
{%- if options['addInfo'] -%}
|
||||
{% set gender = (person.gender == 'woman') ? 'fa-venus' :
|
||||
(person.gender == 'man') ? 'fa-mars' : (person.gender == 'neuter') ? 'fa-neuter' : '' %}
|
||||
(person.gender == 'man') ? 'fa-mars' : (person.gender == 'neuter') ? 'fa-neuter' : 'fa-genderless' %}
|
||||
{% set genderTitle = (person.gender == 'woman') ? 'woman' :
|
||||
(person.gender == 'man') ? 'man' : (person.gender == 'neuter') ? 'neuter' : 'Not given'|trans %}
|
||||
<p class="moreinfo">
|
||||
|
Loading…
x
Reference in New Issue
Block a user