{% extends "admin/base_site.html" %}
{% load i18n humanize %}
{% block title %}Sample times{% endblock %}


{% block breadcrumbs %}
{% if not is_popup %}
  <ul class="breadcrumb">
       <li><a href="{% url 'admin:index' %}">Home</a></li><span class="divider">/</span>
       <li><a href="{% url 'admin:index' %}signalbox">Signalbox</a></li><span class="divider">/</span>
       <li><a href="{% url 'admin:signalbox_script_change' object.id %}">{{object.name}}</a></li><span class="divider">/</span>
       <li>Preview dates and times</li>
</ul>
{% endif %}
{% endblock %}



{% block content_title %}


{% if errors %}
<a class="brand">Error in syntax</a>
{{errors}}
{% else %}
<a class="brand">Sampling times generated by this {{object_type}}: <br/>{{object}}</a>
{% endif %}
{% endblock %}

{% block content %}
<p class="alert"><strong>Note:</strong> These are the dates/times which would be used for observations if the participant were to sign up/be randomised right now. It's important to remember that rules which require observations on specific days of the week or months of the year might generate schedules with different intervals depending on when observations are added.
</p>

</p>
<div id="content-main">
{% include "admin/signalbox/_fragments/_observation_time_list.html" %}

</div>


{% endblock %}
