diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-04-24 07:45:28 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-04-24 07:45:28 +0200 |
commit | d74767f4ef512af859c38c543380bc7545211cc6 (patch) | |
tree | 105a5e8c5270ca7d871faf76f7105a09865d5d17 /pyaggr3g470r/templates/admin/user.html | |
parent | Updated /management template. (diff) | |
download | newspipe-d74767f4ef512af859c38c543380bc7545211cc6.tar.gz newspipe-d74767f4ef512af859c38c543380bc7545211cc6.tar.bz2 newspipe-d74767f4ef512af859c38c543380bc7545211cc6.zip |
Added avatar to the profile section.
Diffstat (limited to 'pyaggr3g470r/templates/admin/user.html')
-rw-r--r-- | pyaggr3g470r/templates/admin/user.html | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/pyaggr3g470r/templates/admin/user.html b/pyaggr3g470r/templates/admin/user.html index a13a5248..fb60d8b1 100644 --- a/pyaggr3g470r/templates/admin/user.html +++ b/pyaggr3g470r/templates/admin/user.html @@ -7,8 +7,15 @@ <div class="jumbotron"> <a href="/admin/edit_user/{{ user.id }}/" class="btn btn-default">Edit this user</a> <h2>Membership</h2> - <p>Member since {{ user.date_created.strftime('%A, %d %B %Y') }}.</p> - <p>Last seen: {{ user.last_seen.strftime('%A, %d %B %Y at %H:%M:%S') }}.</p> + <div class="row"> + <div class="col-md-6"> + <p>Member since {{ user.date_created.strftime('%A, %d %B %Y') }}.</p> + <p>Last seen: {{ user.last_seen.strftime('%A, %d %B %Y at %H:%M:%S') }}.</p> + </div> + <div class="col-md-6"> + <img src="{{ user.email | gravatar }}" /> + </div> + </div> </div> <div class="jumbotron"> {% if user.feeds.all()|count == 0 %} |