Add date filter on Event logs page
Created global TableDateFilter component that uses the BootstrapVue
Datepicker with a native text input. This will allow users to manually
enter a date in ISO format or use the Bootstrap calendar dropdown.
Storing language preference from Login to use locale prop on
BootstrapVue Datepicker component.
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com>
Change-Id: I66de9fb04451572c9a90f90d8522934b6204aed2
diff --git a/src/locales/en-US.json b/src/locales/en-US.json
index 9fc64d0..8a722e3 100644
--- a/src/locales/en-US.json
+++ b/src/locales/en-US.json
@@ -22,7 +22,13 @@
"showPassword": "Show password as plain text. Note: this will visually expose your password on the screen.",
"tooltip": "Tooltip"
},
+ "calendar": {
+ "openDatePicker": "Open date picker",
+ "useCursorKeysToNavigateCalendarDates" : "Use cursor keys to navigate calendar dates"
+ },
"form": {
+ "dateMustBeAfter": "Date must be after %{date}",
+ "dateMustBeBefore": "Date must be before %{date}",
"fieldRequired": "Field required",
"invalidFormat": "Invalid format",
"invalidValue": "Invalid value",
@@ -46,7 +52,9 @@
"informational": "Informational"
},
"table": {
+ "fromDate": "From date",
"itemsPerPage": "Items per page",
+ "toDate": "To date",
"viewAll": "View all"
}
},