Skip to content

Commit

Permalink
Show wildcard for empty schedule fields
Browse files Browse the repository at this point in the history
  • Loading branch information
setaou committed Feb 9, 2016
1 parent 76c9cd5 commit 56c714f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions templates/task-editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,12 @@ <h3>Schedule</h3>
</thead>
<tbody>
<tr ng-repeat="schedule in task.schedules">
<td>{{ schedule.month.join(',') }}</td>
<td>{{ schedule.week.join(',') }}</td>
<td>{{ schedule.dayofmonth.join(',') }}</td>
<td>{{ schedule.dayofweek.join(',') }}</td>
<td>{{ schedule.hour.join(',') }}</td>
<td>{{ schedule.minute.join(',') }}</td>
<td>{{ schedule.month.join(',') || '*' }}</td>
<td>{{ schedule.week.join(',') || '*' }}</td>
<td>{{ schedule.dayofmonth.join(',') || '*' }}</td>
<td>{{ schedule.dayofweek.join(',') || '*' }}</td>
<td>{{ schedule.hour.join(',') || '*' }}</td>
<td>{{ schedule.minute.join(',') || '*' }}</td>
<td><a ng-click="removeSchedule($index)">&#x2716;</a></td>
</tr>
</tbody>
Expand Down
12 changes: 6 additions & 6 deletions templates/task-view.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ <h3>Schedule</h3>
</thead>
<tbody>
<tr ng-repeat="schedule in task.schedules">
<td>{{ schedule.month.join(',') }}</td>
<td>{{ schedule.week.join(',') }}</td>
<td>{{ schedule.dayofmonth.join(',') }}</td>
<td>{{ schedule.dayofweek.join(',') }}</td>
<td>{{ schedule.hour.join(',') }}</td>
<td>{{ schedule.minute.join(',') }}</td>
<td>{{ schedule.month.join(',') || '*' }}</td>
<td>{{ schedule.week.join(',') || '*' }}</td>
<td>{{ schedule.dayofmonth.join(',') || '*' }}</td>
<td>{{ schedule.dayofweek.join(',') || '*' }}</td>
<td>{{ schedule.hour.join(',') || '*' }}</td>
<td>{{ schedule.minute.join(',') || '*' }}</td>
</tr>
</tbody>
</table>
Expand Down

0 comments on commit 56c714f

Please sign in to comment.