diff --git a/config/modules.json b/config/modules.json index c290f4e..13e7c3c 100644 --- a/config/modules.json +++ b/config/modules.json @@ -133,9 +133,9 @@ "lastName": { "des": "Professor first name.", "typ": "varchar(2,30,alphanumeric)", "opt": true }, "category": { "des": "Professor category UID.", "typ": "id", "opt": true }, "hoursToDo": { "des": "Number of hours professor have to do", "typ": "id", "opt": true }, - "initials": { "des": "Professor initials", "typ": "varchar(2,2,letters)", "opt": true }, + "initials": { "des": "Professor initials", "typ": "varchar(2,8,letters)", "opt": true }, "isAdmin": { "des": "Whether professor is an admin", "typ": "boolean", "opt": true }, - "casLogin": { "des": "Optional CAS username", "typ": "varchar(6,10,letters)", "opt": true } + "casLogin": { "des": "Optional CAS username", "typ": "varchar(6,16,letters)", "opt": true } }, "out": { "updated": { "des": "Whether the professor has been updated", "typ": "boolean" } diff --git a/webpack/component/teacher/view.vue b/webpack/component/teacher/view.vue index 60121e8..f15391a 100644 --- a/webpack/component/teacher/view.vue +++ b/webpack/component/teacher/view.vue @@ -52,18 +52,40 @@ :data-lname='prof.lastName' :data-fname='prof.firstName'> -