{% load i18n  %}

<div class="detail">
  <dl class="dl-horizontal">
    <dt>{% trans "Trigger Name" %}</dt>
    <dd>{{ trigger.name }}</dd>
    <dt>{% trans "Trigger Type" %}</dt>
    <dd>{{ trigger.type }}</dd>
    {% if trigger.frequence %}
      <dt>{% trans "Frequence" %}</dt>
      <dd>{{ trigger.frequence }}</dd>
    {% endif %}
    {% if trigger.day %}
      <dt>{% trans "Day" %}</dt>
      <dd>{{ trigger.day }}</dd>
    {% endif %}
    {% if trigger.date %}
      <dt>{% trans "Date" %}</dt>
      <dd>{{ trigger.date }}</dd>
    {% endif %}
    {% if trigger.time %}
      <dt>{% trans "Execution Time (HH:MM)" %}</dt>
      <dd>{{ trigger.time }}</dd>
    {% endif %}
    {% if trigger.hour %}
      <dt>{% trans "Hour" %}</dt>
      <dd>{{ trigger.hour }}</dd>
    {% endif %}
    {% if trigger.minute %}
      <dt>{% trans "Minute" %}</dt>
      <dd>{{ trigger.minute }}</dd>
    {% endif %}
    {% if trigger.interval %}
      <dt>{% trans "Execution Interval" %}</dt>
      <dd>{{ trigger.interval }}</dd>
    {% endif %}
  </dl>
</div>
