Fr3deric
6 years ago
1 changed files with 30 additions and 0 deletions
@ -1,4 +1,34 @@
@@ -1,4 +1,34 @@
|
||||
{% extends "bam/base.html" %} |
||||
{% block content-extra-head %} |
||||
<style> |
||||
dt { |
||||
padding-top: 0.5em; |
||||
color: #999999; |
||||
font-size: 80%; |
||||
} |
||||
dd { |
||||
margin-left: 0px; |
||||
} |
||||
#email-unset { |
||||
font-style: italic; |
||||
} |
||||
</style> |
||||
{% endblock %} |
||||
{% block content %} |
||||
<h1>Welcome, {{ user.username }}!</h1> |
||||
|
||||
<dl> |
||||
<dt>Username</dt> |
||||
<dd>{{ user.username }}</dd> |
||||
{% if user.first_name %} |
||||
<dt>First name</dt> |
||||
<dd>{{ user.first_name }}</dd> |
||||
{% endif %} |
||||
{% if user.last_name %} |
||||
<dt>Last name</dt> |
||||
<dd>{{ user.last_name }}</dd> |
||||
{% endif %} |
||||
<dt>Email address</dt> |
||||
<dd>{% if user.email %}{{ user.email }}{% else %}<span id="email-unset">unset</span>{% endif %}</dd> |
||||
</dl> |
||||
{% endblock %} |
||||
|
Loading…
Reference in new issue