{ time.Unix(schedule.CreatedAt, 10).In(time.Local).Format("15:04:05") }
if api.ScheduleStatus(schedule.Status) == api.ScheduleStatusDisabled {
Subreddit
@subredditLink(schedule.Subreddit)
scheduler has been set to { api.ScheduleStatusDisabled.String() } status.
} else if api.ScheduleStatus(schedule.Status) == api.ScheduleStatusEnabled {
Subreddit
@subredditLink(schedule.Subreddit)
{ " " }
has been { api.ScheduleStatusEnabled.String() } { "for" } automatic scheduling.
} else if api.ScheduleStatus(schedule.Status) == api.ScheduleStatusStandby {
Subreddit
@subredditLink(schedule.Subreddit)
{ " " }
has finished
{ api.ScheduleStatusDownloading.String() }
and turned to { api.ScheduleStatusStandby.String() } status.
} else if api.ScheduleStatus(schedule.Status) == api.ScheduleStatusEnqueued {
Subreddit
@subredditLink(schedule.Subreddit)
{ " " }
is { api.ScheduleStatusEnqueued.String() } { "for" } downloading.
} else if api.ScheduleStatus(schedule.Status) == api.ScheduleStatusDownloading {
Subreddit
@subredditLink(schedule.Subreddit)
{ " " }
has started { api.ScheduleStatusDownloading.String() }.
} else if api.ScheduleStatus(schedule.Status) == api.ScheduleStatusError {
Subreddit
@subredditLink(schedule.Subreddit)
{ " " }
finishes { api.ScheduleStatusDownloading.String() }
with { api.ScheduleStatusError.String() } of "{ schedule.ErrorMessage }".
}