diff --git a/Step.Utils/languages/IT.xml b/Step.Utils/languages/IT.xml
index 0cb7380f..c1515bbe 100644
--- a/Step.Utils/languages/IT.xml
+++ b/Step.Utils/languages/IT.xml
@@ -140,7 +140,6 @@
Nuovo Offset
Nuovo Tagliente
Parametri
- Modifica utensile n. %d - %s
Modifica utensile n. %d
Creazione Nuovo Utensile
Modifica Tagliente n. %d
@@ -470,10 +469,10 @@
Cancella
Salva
Nessun intervento di manutenzione effettuato
- Ultimo intervento effettuato pochi minuti fa
- Ultimo intervento effettuato %d ore fa
- Ultimo intervento effettuato %d giorni fa
- Ultimo intervento effettuato in data: %s
+ Ultimo intervento effettuato pochi minuti fa, da: %s
+ Ultimo intervento effettuato %d ore fa, da: %s
+ Ultimo intervento effettuato %d giorni fa, da: %s
+ Ultimo intervento effettuato in data: %s, da: %s
Manutenzione creata in data %s alle ore %s
Allegati
Note
diff --git a/Step.Utils/languages/en.xml b/Step.Utils/languages/en.xml
index 5c478817..03eac72c 100644
--- a/Step.Utils/languages/en.xml
+++ b/Step.Utils/languages/en.xml
@@ -140,7 +140,6 @@
New Offset
New Cutting Edge
Parameters
- Edit Tool no. %d - %s
Edit Tool no. %d
New Tool Creation
Edit Offset no. %d
@@ -469,10 +468,10 @@
Cancel
Save
Maintenance never registered
- Last maintenance registered few minutes ago
- Last maintenance registered %d hours ago
- Last maintenance registered %d days ago
- Last maintenance registered in: %s
+ Last maintenance registered few minutes ago, from: %s
+ Last maintenance registered %d hours ago, from: %s
+ Last maintenance registered %d days ago, from: %s
+ Last maintenance registered in: %s, from: %s
Maintenance created in %s at %s
Attachments
Notes
diff --git a/Step/wwwroot/src/app_modules/maintenance/components/maintenance-card.ts b/Step/wwwroot/src/app_modules/maintenance/components/maintenance-card.ts
index 55d10e73..1dd68129 100644
--- a/Step/wwwroot/src/app_modules/maintenance/components/maintenance-card.ts
+++ b/Step/wwwroot/src/app_modules/maintenance/components/maintenance-card.ts
@@ -165,14 +165,15 @@ export default class MaintenanceCard extends Vue {
var end = moment(m.lastPerformedDate);
var days = (moment.duration(today.diff(end)) as any)._data.days;
var hours = (moment.duration(today.diff(end)) as any)._data.hours;
+ var author = m.maintainer.username;
if (hours == 0)
- return this.$options.filters.localize("maintenance_date_justdone", "Ultimo intervento effettuato pochi minuti fa");
+ return this.$options.filters.localize("maintenance_date_justdone", "Ultimo intervento effettuato pochi minuti fa, da: %s");
else if (days == 0)
- return this.$options.filters.localize("maintenance_date_hours", "Ultimo intervento effettuato %d ore fa", hours);
+ return this.$options.filters.localize("maintenance_date_hours", "Ultimo intervento effettuato %d ore fa, da: %s", hours,author);
else if (days <= 7)
- return this.$options.filters.localize("maintenance_date_days", "Ultimo intervento effettuato %d giorni fa", days);
+ return this.$options.filters.localize("maintenance_date_days", "Ultimo intervento effettuato %d giorni fa, da: %s", days,author);
else
- return this.$options.filters.localize("maintenance_date_fixeddate", "Ultimo intervento effettuato in data: %s", moment(m.lastPerformedDate).format('L'));
+ return this.$options.filters.localize("maintenance_date_fixeddate", "Ultimo intervento effettuato in data: %s, da: %s", moment(m.lastPerformedDate).format('L'),author);
}
return "";
}
diff --git a/Step/wwwroot/src/app_modules/maintenance/components/maintenance-card.vue b/Step/wwwroot/src/app_modules/maintenance/components/maintenance-card.vue
index fdf3f2b0..f19bf573 100644
--- a/Step/wwwroot/src/app_modules/maintenance/components/maintenance-card.vue
+++ b/Step/wwwroot/src/app_modules/maintenance/components/maintenance-card.vue
@@ -11,7 +11,9 @@