people tags #387

This commit is contained in:
Hamid Reza Mohammadi 2026-10-01 14:43:45 +03:30
parent 4f1f155266
commit b20281df7b

View File

@ -273,9 +273,15 @@
'<div class="up-field-row" id="person-relative-direction-wrap-' + idx + '">' + '<div class="up-field-row" id="person-relative-direction-wrap-' + idx + '">' +
'<div class="up-field">' + '<div class="up-field">' +
'<label>جهت رابطه</label>' + '<label>جهت رابطه</label>' +
// "otherFirst" (the already-existing person is the parent/minister side) is
// listed first and pre-selected, since the usual workflow here is building a
// tree top-down - the ancestor/senior side already exists, and this new person
// being created is their child/subordinate. Defaulting to "newFirst" instead
// silently assumed the opposite and was an easy, hard-to-notice way to enter a
// relation backwards (e.g. recording a son as his own father's parent).
'<select id="person-relative-direction-' + idx + '">' + '<select id="person-relative-direction-' + idx + '">' +
'<option value="otherFirst" selected="selected">شخصیت دیگر، طرف اول رابطه است (مثلاً پدر/وزیر این شخصیت جدید)</option>' +
'<option value="newFirst">این شخصیت جدید، طرف اول رابطه است (مثلاً پدر/وزیر طرف دوم)</option>' + '<option value="newFirst">این شخصیت جدید، طرف اول رابطه است (مثلاً پدر/وزیر طرف دوم)</option>' +
'<option value="otherFirst">شخصیت دیگر، طرف اول رابطه است (مثلاً پدر/وزیر این شخصیت جدید)</option>' +
'</select>' + '</select>' +
'</div>' + '</div>' +
'</div>' + '</div>' +