diff --git a/src/portal/src/app/base/left-side-nav/job-service-dashboard/job-service-dashboard.interface.ts b/src/portal/src/app/base/left-side-nav/job-service-dashboard/job-service-dashboard.interface.ts index bbde1da26..9b0abf16a 100644 --- a/src/portal/src/app/base/left-side-nav/job-service-dashboard/job-service-dashboard.interface.ts +++ b/src/portal/src/app/base/left-side-nav/job-service-dashboard/job-service-dashboard.interface.ts @@ -24,3 +24,11 @@ export enum JobType { SCHEDULER = 'scheduler', ALL = 'all', } + +export const CronTypeI18nMap = { + None: 'SCHEDULE.NONE', + Daily: 'SCHEDULE.DAILY', + Weekly: 'SCHEDULE.WEEKLY', + Hourly: 'SCHEDULE.HOURLY', + Custom: 'SCHEDULE.CUSTOM', +}; diff --git a/src/portal/src/app/base/left-side-nav/job-service-dashboard/schedule-list/schedule-list.component.html b/src/portal/src/app/base/left-side-nav/job-service-dashboard/schedule-list/schedule-list.component.html index 26fd92208..ad6734cc8 100644 --- a/src/portal/src/app/base/left-side-nav/job-service-dashboard/schedule-list/schedule-list.component.html +++ b/src/portal/src/app/base/left-side-nav/job-service-dashboard/schedule-list/schedule-list.component.html @@ -15,11 +15,17 @@ {{ 'JOB_SERVICE_DASHBOARD.VENDOR_ID' | translate }} + {{ + 'JOB_SERVICE_DASHBOARD.CRON' | translate + }} + {{ + 'JOB_SERVICE_DASHBOARD.CRON_TYPE' | translate + }} {{ 'JOB_SERVICE_DASHBOARD.EXTRA_ATTR' | translate }} {{ - 'PROJECT.CREATION_TIME' | translate + 'REPLICATION.UPDATE_TIME' | translate }} {{ 'JOB_SERVICE_DASHBOARD.NO_SCHEDULE' | translate @@ -28,6 +34,8 @@ {{ p.id }} {{ p.vendor_type }} {{ p.vendor_id }} + {{ p.cron }} + {{ toI18nString(p.cron_type) | translate }} {{ @@ -44,7 +52,7 @@ - {{ p.creation_time | harborDatetime }} + {{ p.update_time | harborDatetime }}