From 119b3249ebc8101874eadbb4cc66ccfcb9543f86 Mon Sep 17 00:00:00 2001 From: Birm Date: Wed, 13 Sep 2023 12:49:23 -0400 Subject: [PATCH] screenname to email --- apps/collection/viewer.html | 2 +- apps/labeling/labelingSimpleAnnotationViewer.html | 4 ++-- apps/labeling/pitfallsTable.html | 4 ++-- apps/landing/crowd.html | 4 ++-- apps/landing/landing.html | 4 ++-- apps/managment/users.html | 4 ++-- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/apps/collection/viewer.html b/apps/collection/viewer.html index d66964f0f..d76515ae0 100644 --- a/apps/collection/viewer.html +++ b/apps/collection/viewer.html @@ -217,7 +217,7 @@ const store = new Store("../../data/"); const container = document.getElementById("card-container"); const screenName = document.getElementById("screenName"); - screenName.innerText = `hi, ${getUserInfo().data.registration.firstName}`; + screenName.innerText = `Hi, ${getUserInfo().email}`; screenName.style.display = ""; function createAllCards(data, container) { diff --git a/apps/labeling/labelingSimpleAnnotationViewer.html b/apps/labeling/labelingSimpleAnnotationViewer.html index 9997d2de1..b20f9a410 100644 --- a/apps/labeling/labelingSimpleAnnotationViewer.html +++ b/apps/labeling/labelingSimpleAnnotationViewer.html @@ -359,9 +359,9 @@ async function initialize() { const store = new Store("../../data/"); try { - let screenName = getUserInfo().data.registration.firstName; + let screenName = getUserInfo().email; const screenNameDiv = document.getElementById("screenName"); - screenNameDiv.innerText = `hi, ${screenName}`; + screenNameDiv.innerText = `Hi, ${screenName}`; screenNameDiv.style.display = ""; // set collection info panel let collectionInfoPanel = document.getElementById("collectionInfo"); diff --git a/apps/labeling/pitfallsTable.html b/apps/labeling/pitfallsTable.html index f1c7d8602..151a4a285 100644 --- a/apps/labeling/pitfallsTable.html +++ b/apps/labeling/pitfallsTable.html @@ -358,9 +358,9 @@ async function initialize() { const store = new Store("../../data/"); try { - let screenName = getUserInfo().data.registration.firstName; + let screenName = getUserInfo().email; const screenNameDiv = document.getElementById("screenName"); - screenNameDiv.innerText = `hi, ${screenName}`; + screenNameDiv.innerText = `Hi, ${screenName}`; screenNameDiv.style.display = ""; // set collection info panel let collectionInfoPanel = document.getElementById("collectionInfo"); diff --git a/apps/landing/crowd.html b/apps/landing/crowd.html index 7abefea9b..501aab1d5 100644 --- a/apps/landing/crowd.html +++ b/apps/landing/crowd.html @@ -214,9 +214,9 @@

Whole Slide Imaging