{% extends 'generic/object_edit.html' %} {% load form_helpers %} {% load static %} {% block form %}

Generic Configuration

{% render_field form.zabbixmaintenance %} {% render_field form.timeperiod_type %}

Details

{% comment %} Only to be shown when TimePeriod Type == Mothly {% endcomment %}
{% render_field form.month %}
{% comment %} Only to be shown when TimePeriod Type == Mothly {% endcomment %}
{% render_field form.month_date %}
{% comment %} Only to be shown when TimePeriod Type == Mothly and MonthDate == Day of Month {% endcomment %}
{% render_field form.day %}
{% comment %} Only to be shown when TimePeriod Type == Mothly and MonthDate == Day of Week {% endcomment %}
{% render_field form.week %}
{% comment %} Only to be shown when TimePeriod Type == Weekly {% endcomment %}
{% render_field form.dayofweek %}

Maintenance period schedule

{% comment %} Only to be shown when TimePeriod Type == One Time Only {% endcomment %}
{% render_field form.start_date %}
{% comment %} Only to be shown when TimePeriod Type == Daily, Weekly or Monthly {% endcomment %}
{% render_field form.start_time %}
{% comment %} Only to be shown when TimePeriod Type == Daily {% endcomment %}
{% render_field form.every %}

Maintenance period length

{% render_field form.days %} {% render_field form.hours %} {% render_field form.minutes %}
{% endblock %} {% block javascript %} {% endblock %}