Skip to content

Commit 6ce7bd5

Browse files
committed
add 'RTT' to possible roles
1 parent 3d4e58b commit 6ce7bd5

File tree

8 files changed

+9
-8
lines changed

8 files changed

+9
-8
lines changed

server/models/Staff.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const staffSchema = new Schema({
1414
matricola: { type: String, label: 'matricola'},
1515
qualification: {type: String, label: 'qualifica',
1616
enum: [
17-
'PO', 'PA', 'RIC', 'RTDb', 'RTDa',
17+
'PO', 'PA', 'RIC', 'RTDb', 'RTDa', 'RTT',
1818
'Assegnista', 'Dottorando', 'PTA',
1919
'Professore Emerito',
2020
'Collaboratore',

server/server.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ function setup_routes(app) {
119119
// se modifchi queste qualifiche ricordati di modificare
120120
// anche la descrizione in fondo alle pagine dei relativi
121121
// processi
122-
if (['PO', 'PA', 'RIC', 'RTDb', 'RTDa',
122+
if (['PO', 'PA', 'RIC', 'RTDb', 'RTDa', 'RTT',
123123
'Assegnista', 'Dottorando',
124124
'Professore Emerito',
125125
'Collaboratore',
@@ -131,7 +131,7 @@ function setup_routes(app) {
131131
add_role('/process/visitsList')
132132
add_role('/process/my/urls')
133133
}
134-
if (['PO', 'PA', 'RIC', 'RTDb', 'RTDa',
134+
if (['PO', 'PA', 'RIC', 'RTDb', 'RTDa', 'RTT',
135135
'Assegnista', 'Dottorando',
136136
'Professore Emerito',
137137
'Collaboratore',

src/models/Staff.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function StaffsFilters({ filter }) {
3838
const currentYear = new Date().getFullYear()
3939
const startYear = 2011
4040
const years = Array.from({ length: currentYear - startYear + 1 }, (_, i) => currentYear - i)
41-
const qualificationOptions = ['PO', 'PA', 'RTDb', 'RTDa', 'RIC', 'Assegnista', 'Dottorando', 'PTA', 'Professore Emerito', 'Collaboratore', 'Docente Esterno', 'Dottorando Esterno', 'Personale in quiescenza', 'ex Docente']
41+
const qualificationOptions = ['PO', 'PA', 'RTDb', 'RTDa', 'RTT', 'RIC', 'Assegnista', 'Dottorando', 'PTA', 'Professore Emerito', 'Collaboratore', 'Docente Esterno', 'Dottorando Esterno', 'Personale in quiescenza', 'ex Docente']
4242

4343
const options = [
4444
{ value: 'all', label: 'Tutti' },

src/processes/Conferences.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ function ConferenceList() {
7373
Questa pagina è accessibile a tutti gli utenti
7474
con permesso <i>/process/conferences</i>. Tale permesso è automatico
7575
per gli utenti che hanno una delle seguenti qualifiche interne al dipartimento:
76-
'PO', 'PA', 'RIC', 'RTDb', 'RTDa',
76+
'PO', 'PA', 'RIC', 'RTDb', 'RTDa', 'RTT',
7777
'Assegnista', 'Dottorando',
7878
'Professore Emerito',
7979
'Collaboratore',

src/processes/Seminars.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ function SeminarList() {
122122
Questa pagina è accessibile a tutti gli utenti
123123
con permesso <i>/process/seminars</i>. Tale permesso è automatico
124124
per gli utenti che hanno una delle seguenti qualifiche interne al dipartimento:
125-
'PO', 'PA', 'RIC', 'RTDb', 'RTDa',
125+
'PO', 'PA', 'RIC', 'RTDb', 'RTDa', 'RTT',
126126
'Assegnista', 'Dottorando',
127127
'Professore Emerito',
128128
'Collaboratore',

src/processes/Urls.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default function ProcessUrls() {
1818
Questa pagina è accessibile a tutti gli utenti
1919
con permesso <i>/process/my/urls</i>. Tale permesso è automatico
2020
per gli utenti che hanno una delle seguenti qualifiche interne al dipartimento:
21-
'PO', 'PA', 'RIC', 'RTDb', 'RTDa',
21+
'PO', 'PA', 'RIC', 'RTDb', 'RTDa', 'RTT',
2222
'Assegnista', 'Dottorando',
2323
'Professore Emerito',
2424
'Collaboratore',

src/processes/VisitsList.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default function ProcessVisitsList() {
1111
Questa pagina è accessibile a tutti gli utenti
1212
con permesso <i>/process/visitsList</i>. Tale permesso è automatico
1313
per gli utenti che hanno una delle seguenti qualifiche interne al dipartimento:
14-
'PO', 'PA', 'RIC', 'RTDb', 'RTDa',
14+
'PO', 'PA', 'RIC', 'RTDb', 'RTDa', 'RTT',
1515
'Assegnista', 'Dottorando',
1616
'Professore Emerito',
1717
'Collaboratore',

widgets/src/utils.js

+1
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ export function getRoleLabel(role, english, feminine) {
177177
'PA': ['Professore Associato', 'Professoressa Associata', 'Associate Professor', 'Associate Professor'],
178178
'RTDb': ['Ricercatore a tempo determinato senior', 'Ricercatrice a tempo determinato senior', 'Tenure-track Assistant Professor', 'Tenure-track Assistant Professor'],
179179
'RTDa': ['Ricercatore a tempo determinato junior', 'Ricercatrice a tempo determinato junior', 'Non-Tenure-Track Assistant Professor', 'Non-Tenure-Track Assistant Professor'],
180+
'RTT': ['Ricercatore a tempo determinato', 'Ricercatrice a tempo determinato', 'Tenure-Track Assistant Professor', 'Tenure-Track Assistant Professor'],
180181
'RIC': ['Ricercatore a tempo indeterminato', 'Ricercatrice a tempo indeterminato', 'Tenured Assistant Professor', 'Tenured Assistant Professor'],
181182
'Assegnista': ['Assegnista', 'Assegnista', 'Postdoctoral Fellow', 'Postdoctoral Fellow'],
182183
'Dottorando': ['Dottorando', 'Dottoranda', 'Ph.D. Student', 'Ph.D. Student'],

0 commit comments

Comments
 (0)