Self hosted FLOSS fitness/workout, nutrition and weight tracker
Show user's address in overview, if available
Roland Geider81d0874dc480
diff --git a/wger/core/templates/user/overview.html b/wger/core/templates/user/overview.htmlindex cf450223f..1628ba834 100644--- a/wger/core/templates/user/overview.html+++ b/wger/core/templates/user/overview.html@@ -251,6 +251,21 @@{% endif %}</td></tr>+ <tr>+ <td>{% trans "Phone" %}</td>+ <td> {{ current_user.userprofile.address.phone|default:'-/-' }}</td>+ </tr>+ <tr>+ <td>{% trans "Address" %}</td>+ <td>+ {% if not current_user.userprofile.address.zip_code and not current_user.userprofile.address.city and not current_user.userprofile.address.street%}+ -/-+ {% else %}+ {{current_user.userprofile.address.zip_code}} {{current_user.userprofile.address.city}}<br>+ {{current_user.userprofile.address.street}}+ {% endif %}+ </td>+ </tr><tr><td>{% trans "Registered" %}</td><td>{{current_user.date_joined}}</td>