From adafb09cb1f221259970d16886ea0e03169899a5 Mon Sep 17 00:00:00 2001 From: maxbr Date: Wed, 5 Oct 2016 14:24:11 +0200 Subject: Sync dashboard user data with jira JIRA: PHAROS-264 Change-Id: Ic4533af04946ee0493c762ca79aaf46ee0f80e00 Signed-off-by: maxbr --- .../src/templates/account/user_list.html | 20 ++++++++++++++------ .../templates/account/userprofile_update_form.html | 10 +++++++++- 2 files changed, 23 insertions(+), 7 deletions(-) (limited to 'pharos-dashboard/src/templates/account') diff --git a/pharos-dashboard/src/templates/account/user_list.html b/pharos-dashboard/src/templates/account/user_list.html index c2b8193..f18e161 100644 --- a/pharos-dashboard/src/templates/account/user_list.html +++ b/pharos-dashboard/src/templates/account/user_list.html @@ -5,6 +5,8 @@ Username + Full Name + Email Company SSH Key GPG Key @@ -16,18 +18,24 @@ {{ user.username }} + + {{ user.userprofile.full_name }} + + + {{ user.email }} + {{ user.userprofile.company }} - {% if user.userprofile.ssh_public_key %} - SSH - {% endif %} + {% if user.userprofile.ssh_public_key %} + SSH + {% endif %} - {% if user.userprofile.pgp_public_key %} - GPG - {% endif %} + {% if user.userprofile.pgp_public_key %} + GPG + {% endif %} {% endfor %} diff --git a/pharos-dashboard/src/templates/account/userprofile_update_form.html b/pharos-dashboard/src/templates/account/userprofile_update_form.html index 542ea81..f4bb7b5 100644 --- a/pharos-dashboard/src/templates/account/userprofile_update_form.html +++ b/pharos-dashboard/src/templates/account/userprofile_update_form.html @@ -16,9 +16,17 @@
{% csrf_token %} {% bootstrap_form form %} +

API Token + + Generate + +

+

{{ token.key }}

+ +

{% buttons %} {% endbuttons %}
-- cgit 1.2.3-korg