Skip to content

Commit

Permalink
feat(user-profile): show email
Browse files Browse the repository at this point in the history
  • Loading branch information
thejoeejoee committed Jan 3, 2024
1 parent 55b28d7 commit 32de877
Showing 1 changed file with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@ <h2 class="card-title flex flex-row items-center justify-between">
<div class="card-body pt-0">
<h2 class="card-title">{% trans "👤 Profile Details" %}</h2>

<div class="flex flex-row items-start gap-x-4">
<table class="table table-zebra w-1/2">
<div class="flex flex-col md:flex-row items-start gap-x-4">
<table class="table table-zebra md:w-1/2">
<tr>
<th>{% trans "University" %}</th>
<td>
Expand All @@ -191,7 +191,13 @@ <h2 class="card-title">{% trans "👤 Profile Details" %}</h2>
<td>{{ object.user.profile.get_gender_display }}</td>
</tr>
</table>
<table class="table table-zebra w-1/2">
<table class="table table-zebra md:w-1/2">
<tr>
<th>{% translate 'Email' %}</th>
<td>
<a {% if object.user.primary_email %}class="link link-primary" href="mailto:{{ object.user.primary_email }}"{% endif %}>{{ object.user.primary_email|default:"-" }}</a>
</td>
</tr>
<tr>
<th>{% trans "Facebook" %}</th>
<td>{{ object.user.profile.facebook|default:"-" }}</td>
Expand Down

0 comments on commit 32de877

Please sign in to comment.