diff --git a/src/components/GroupHistoryModal.vue b/src/components/GroupHistoryModal.vue new file mode 100644 index 0000000..c9fc8d4 --- /dev/null +++ b/src/components/GroupHistoryModal.vue @@ -0,0 +1,56 @@ + + + diff --git a/src/locales/en.json b/src/locales/en.json index 188d7b9..6e1314e 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -48,6 +48,7 @@ "Filters": "Filters", "facility group": "facility group", "Group": "Group", + "Group history": "Group history", "greater": "greater", "greater than or equal to": "greater than or equal to", "High": "High", @@ -75,6 +76,7 @@ "New Run": "New Run", "New routing created": "New routing created", "Next rule": "Next rule", + "No available history for this group": "No available history for this group", "No archived routings": "No archived routings", "No runs scheduled": "No runs scheduled", "No time zone found": "No time zone found", @@ -139,5 +141,6 @@ "Updating inventory rules and filters": "Updating inventory rules and filters", "Username": "Username", "Version:": "Version: ", + "View All": "View All", "value": "value" } \ No newline at end of file diff --git a/src/views/BrokeringRoute.vue b/src/views/BrokeringRoute.vue index 20b9bb0..6aa2b88 100644 --- a/src/views/BrokeringRoute.vue +++ b/src/views/BrokeringRoute.vue @@ -68,14 +68,15 @@

{{ translate("History") }}

+ {{ translate("View All") }}

{{ translate("No available history for this group") }}

- + -

{{ getTime(routing.startTime) }}

-

{{ getDate(routing.startTime) }}

+

{{ getTime(groupHistory[0].startTime) }}

+

{{ getDate(groupHistory[0].startTime) }}

- {{ getTime(routing.endTime - routing.startTime) }} + {{ getTime(groupHistory[0].endTime - groupHistory[0].startTime) }}