From 342eefa45e2f173b766fe4377b8e4ca30fff14ba Mon Sep 17 00:00:00 2001 From: richard-dds Date: Mon, 23 Jul 2018 10:25:29 -0400 Subject: [PATCH 1/3] Display user's name in header --- templates/navigation/topbar.html.to | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/navigation/topbar.html.to b/templates/navigation/topbar.html.to index 9c6ef28c..856075ec 100644 --- a/templates/navigation/topbar.html.to +++ b/templates/navigation/topbar.html.to @@ -11,7 +11,7 @@ - Sam Seeceepio + {{ current_user["first_name"] + " " + current_user["last_name"] }} {% module Icon('avatar', classes='topbar__link-icon') %} From ca112667bd421ec672a8f1836e99b0c546722e78 Mon Sep 17 00:00:00 2001 From: richard-dds Date: Mon, 23 Jul 2018 10:28:29 -0400 Subject: [PATCH 2/3] Change spelling of Sam's last name --- atst/handlers/dev.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atst/handlers/dev.py b/atst/handlers/dev.py index 86c4e419..878aca11 100644 --- a/atst/handlers/dev.py +++ b/atst/handlers/dev.py @@ -6,7 +6,7 @@ _DEV_USERS = { "sam": { "id": "164497f6-c1ea-4f42-a5ef-101da278c012", "first_name": "Sam", - "last_name": "CCPO", + "last_name": "Seeceepio", "atat_role": "ccpo" }, From cfd99f1de470ac6da7bed65913abf90ea875731d Mon Sep 17 00:00:00 2001 From: richard-dds Date: Mon, 23 Jul 2018 10:38:08 -0400 Subject: [PATCH 3/3] Add users details to README --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 311965be..6d1cddf2 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,19 @@ To start the app locally in the foreground and watch for changes: script/dev_server +### Users + +There are currently six mock users for development: + +- Sam (a CCPO) +- Amanda +- Brandon +- Christina +- Dominick +- Erica + +To log in as one of them, navigate to `/login-dev?username=`. For example `/login-dev?username=amanda`. + ## Testing To run lint, static analysis, and unit tests: