{% extends "pharmaceutical-rules-container.html" %} {% block head %} {{ block.super }} {% endblock %} {% block sub-content %} {% for rule in rule_list %} {% endfor %}
Description Rule Schedule Active
{{ rule.description }} Active {% if not rule.use_time %} all day{% else %} from {{ rule.start_time|time }} to {{ rule.stop_time|time }}{% endif %} {% if rule.use_day_of_month %}on {% for day in rule.day_of_month %}{{ day }},{% endfor %} each month {% else %}every {% if rule.day_of_week|first == 'ALL' %}day {% else %}{% for day in rule.day_of_week %}{{ day }}{% if not forloop.last %}, {% endif %}{% endfor %}{% endif %}{% endif %}
{% endblock %}