Skip to content

Commit

Permalink
[GH-188] - Add mobile phone number to summary search result (#189)
Browse files Browse the repository at this point in the history
* feat(frontend): Show first mobile phone if landline not available on summary view

* [Bot] Update version to 2.4.2

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
soufianerafik and github-actions[bot] authored Feb 7, 2025
1 parent 0ec8031 commit 4027569
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,13 @@
<td valign="top">{{ data['name'] }}&nbsp;</td>
<td valign="top" nowrap="nowrap">
{% set phone = data['phone_contacts']['phones']|first %}
{% if phone %}{{ phone }}{% endif %}
{% set mobile = data['phone_contacts']['mobiles']|first %}

{% if phone %}
{{ phone }}
{% elif mobile %}
{{ mobile }}
{% endif %}
</td>
<td valign="top">
{% for email in data['emails'] %}
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "uw-husky-directory"
version = "2.4.1"
version = "2.4.2"
description = "An updated version of the UW Directory"
authors = ["Thomas Thorogood <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit 4027569

Please sign in to comment.