mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 04:12:59 +00:00
Added new hourly chore period type (closes #266)
This commit is contained in:
@@ -159,6 +159,10 @@ $('.input-group-chore-period-type').on('change keyup', function(e)
|
||||
$("#period_days").removeAttr("max");
|
||||
$('#chore-schedule-info').text(__n(periodDays, "This means the next execution of this chore is scheduled %s day after the last execution", "This means the next execution of this chore is scheduled %s days after the last execution"));
|
||||
}
|
||||
else if (periodType === 'hourly')
|
||||
{
|
||||
$('#chore-schedule-info').text(__n(periodInterval, "This means the next execution of this chore is scheduled %s hour after the last execution", "This means the next execution of this chore is scheduled %s hours after the last execution"));
|
||||
}
|
||||
else if (periodType === 'daily')
|
||||
{
|
||||
$('#chore-schedule-info').text(__n(periodInterval, "This means the next execution of this chore is scheduled %s day after the last execution", "This means the next execution of this chore is scheduled %s days after the last execution"));
|
||||
|
Reference in New Issue
Block a user