@igea/oac_frontend 1.0.99 → 1.0.101

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@igea/oac_frontend",
3
- "version": "1.0.99",
3
+ "version": "1.0.101",
4
4
  "description": "Frontend service for the OAC project",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -11,7 +11,7 @@
11
11
  "password_recovery": "Forgot your password?",
12
12
  "invalid_user": "Invalid username or password",
13
13
  "sign_in": "Sign in",
14
- "anonymous": "Anonymous"
14
+ "anonymous": "Guest"
15
15
  },
16
16
  "password_recovery": {
17
17
  "title": "Password recovery",
@@ -20,7 +20,7 @@
20
20
  "send_instructions": "Send instructions",
21
21
  "back_to_login": "Back to login",
22
22
  "invalid_email": "Invalid email address",
23
- "email_sent": "Instructions have been sent to your email address, if it exists in our system."
23
+ "email_sent": "Instructions have been sent to your email address, if it exists in our system.",
24
24
  "password_reset_success": "Your password has been reset successfully. You can now log in with your new password."
25
25
  },
26
26
  "introduction": {
@@ -127,5 +127,35 @@
127
127
  },
128
128
  "footer": {
129
129
  "text": "Powered by IGEA: all rights reserved"
130
+ },
131
+ "introduzione": {
132
+ "sistema": {
133
+ "title": "The system",
134
+ "area": {
135
+ "heritage": "Heritage",
136
+ "diagnostics": "Diagnostics",
137
+ "linked": "Linked",
138
+ "semantic": "Semantic",
139
+ "data": "Data"
140
+ },
141
+ "image": {
142
+ "microscopy": "Optical microscopy observation",
143
+ "samples": "Sample preparation",
144
+ "georadar": "Ground-penetrating radar survey"
145
+ }
146
+ },
147
+ "finalita": {
148
+ "title": "Purpose",
149
+ "item": {
150
+ "documentare": "Document",
151
+ "conoscere": "Understand",
152
+ "comparare": "Compare",
153
+ "comprendere": "Interpret",
154
+ "analizzare": "Analyse",
155
+ "condividere": "Share"
156
+ }
130
157
  }
158
+ }
159
+
160
+
131
161
  }
@@ -11,7 +11,7 @@
11
11
  "password_recovery": "Hai dimenticato la password?",
12
12
  "invalid_user": "Nome utente o password non validi",
13
13
  "sign_in": "Accedi",
14
- "anonymous": "Anonimo"
14
+ "anonymous": "Ospite"
15
15
  },
16
16
  "password_recovery": {
17
17
  "title": "Recupero password",
@@ -133,5 +133,38 @@
133
133
  },
134
134
  "footer": {
135
135
  "text": "Sviluppato da IGEA: tutti i diritti riservati"
136
+ },
137
+
138
+
139
+ "introduzione": {
140
+ "sistema": {
141
+ "title": "Il sistema",
142
+ "area": {
143
+ "heritage": "Heritage",
144
+ "diagnostics": "Diagnostics",
145
+ "linked": "Linked",
146
+ "semantic": "Semantic",
147
+ "data": "Data"
148
+ },
149
+ "image": {
150
+ "microscopy": "Osservazione in microscopia ottica",
151
+ "samples": "Preparazione dei campioni",
152
+ "georadar": "Prospezione georadar"
153
+ }
154
+ },
155
+ "finalita": {
156
+ "title": "Finalità",
157
+ "item": {
158
+ "documentare": "Documentare",
159
+ "conoscere": "Conoscere",
160
+ "comparare": "Comparare",
161
+ "comprendere": "Comprendere",
162
+ "analizzare": "Analizzare",
163
+ "condividere": "Condividere"
164
+ }
136
165
  }
166
+ }
167
+
168
+
169
+
137
170
  }
@@ -52,11 +52,11 @@ document.addEventListener('DOMContentLoaded', () => {
52
52
  :placeholder="labels.search"
53
53
  @select="handleAutocompleteSelect"
54
54
  />
55
- <button v-if="existingInstance != null && !inEdit" :title="labels.edit"
55
+ <button v-if="existingInstance != null && !inEdit && cur_role != 3" :title="labels.edit"
56
56
  @click="editInstance()" type="button" class="btn btn-info">
57
57
  <i class="fa-solid fa-pen-to-square"></i>
58
58
  </button>
59
- <button v-if="!inEdit" :title="labels.new"
59
+ <button v-if="!inEdit && cur_role != 3" :title="labels.new"
60
60
  @click="newInstance()" type="button" class="btn btn-success">
61
61
  <i class="fa-solid fa-plus"></i>
62
62
  </button>
@@ -68,6 +68,7 @@ document.addEventListener('DOMContentLoaded', () => {
68
68
  `,
69
69
  data() {
70
70
  return {
71
+ cur_role: parseInt(elSearch.dataset.cur_role),
71
72
  existingInstance: null,
72
73
  inEdit:false,
73
74
  labels:{