Skip to content

Commit

Permalink
Improve several attribute icons (NOJIRA) (#323)
Browse files Browse the repository at this point in the history
  • Loading branch information
arlen authored Jul 4, 2025
1 parent 4fd0b09 commit 311e4cf
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 9 deletions.
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

0 comments on commit 311e4cf

Please sign in to comment.