Skip to content

Improve several attribute icons (NOJIRA) #323

Merged
merged 1 commit into from
Jul 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ if(empty($attributes)) {
// Map attributes to icons
$attributeToIcons =
[
'adHocAttribute' => 'grass',
'adHocAttribute' => 'user_attributes',
'address' => 'home',
'affiliation_type_id' => 'person_search',
'cou_id' => 'supervised_user_circle',
Expand All @@ -76,7 +76,7 @@ $attributeToIcons =
'manager_person_id' => 'supervisor_account',
'name' => 'face',
'organization' => 'corporate_fare',
'pronoun' => 'transgender',
'pronoun' => '3p',
'sponsor_person_id' => 'person',
'telephoneNumber' => 'call',
'petition_textarea' => 'text_fields',
Expand Down Expand Up @@ -119,7 +119,7 @@ foreach ($attributes as $attr => $hr_name) {
$action_args['vv_actions'][] = [
'order' => $actionOrder,
'icon' => $actionIcon,
'iconClass' => '',
'iconClass' => 'material-symbols-outlined',
'url' => $actionUrl,
'class' => $actionClass ?? '',
'label' => $actionLabel,
Expand Down
5 changes: 3 additions & 2 deletions app/templates/ExternalIdentities/fields-nav.inc
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ $addMenuLinks = [
[
'controller' => 'ad_hoc_attributes',
'action' => 'add',
'icon' => 'check_box',
'icon' => 'user_attributes',
'iconClass' => 'material-symbols-outlined'
],
[
Expand All @@ -144,7 +144,8 @@ $addMenuLinks = [
[
'controller' => 'pronouns',
'action' => 'add',
'icon' => 'transgender'
'icon' => '3p',
'iconClass' => 'material-symbols-outlined'
],
[
'controller' => 'telephone_numbers',
Expand Down
2 changes: 1 addition & 1 deletion app/templates/ExternalIdentityRoles/fields-nav.inc
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ $addMenuLinks = [
[
'controller' => 'ad_hoc_attributes',
'action' => 'add',
'icon' => 'check_box',
'icon' => 'user_attributes',
'iconClass' => 'material-symbols-outlined'
],
[
Expand Down
5 changes: 3 additions & 2 deletions app/templates/People/fields-nav.inc
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ $addMenuLinks = [
[
'controller' => 'ad_hoc_attributes',
'action' => 'add',
'icon' => 'check_box',
'icon' => 'user_attributes',
'iconClass' => 'material-symbols-outlined'
],
[
Expand All @@ -139,7 +139,8 @@ $addMenuLinks = [
[
'controller' => 'pronouns',
'action' => 'add',
'icon' => 'transgender'
'icon' => '3p',
'iconClass' => 'material-symbols-outlined'
],
[
'controller' => 'telephone_numbers',
Expand Down
2 changes: 1 addition & 1 deletion app/templates/PersonRoles/fields-nav.inc
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ $addMenuLinks = [
[
'controller' => 'ad_hoc_attributes',
'action' => 'add',
'icon' => 'check_box',
'icon' => 'user_attributes',
'iconClass' => 'material-symbols-outlined'
],
[
Expand Down