{% extends "master.html" %}

{% block bodyparams %}
  class="plus-secondary"
{% endblock %}

{% block heading %}
    <p id="welcome">Welcome to</p>
    <h1><a href="{{uriPrefix}}/" title="{{ systemServiceName }} Home">{{ systemServiceName }}
</a></h1>
{% endblock %}


{% block content %}
    <h2>What is {{ systemServiceName }}</h2>

    <p>
        {{ systemServiceName }} is a service designed to support administration of a scanning facility.
    </p>

    <h2>Background</h2>
    <p>
        This service was conceived by the Cognition and Brain Sciences Unit of the Medical Research Council and is being developed in a partnership with the Appropriate Software Foundation. If you would like to use the service to support your work, or would like more information about the service, please contact the service administrator [here].
    </p>
{% endblock %}

{% block primarysidebar %}
<div class="box">
  <h2>Using ScanBooker</h2>
  <ul>
    <li><a href="http://appropriatesoftware.net/scanbooker/documentation/index.html">Documentation</a></li>
  </ul>
</div>
<div class="box">
  <h2>Quick links</h2>
  <ul>
    {% if view.canReadSystem %}
    <li><a href="{{uriPrefix}}/schedule/">Schedule</a></li>
    {% endif %}
    {% if view.canReadPerson  %}
    <li><a href="{{uriPrefix}}/persons/">Registration</a></li>
    {% endif %}
  </ul>
</div>
{% endblock %}

{% block secondarysidebar %}
<div class="box">
  <h2>Site summary</h2>
  <p>
{{ systemServiceName }} supports the work of administering a scanning facility.
  </p>
  <p>
There are {{ view.registry.scanningSessions.count }} scanning sessions for {{ view.registry.studies.count }} registered studies.
  </p>
</div>
    {% if view.canUpdateSystem  %}
<div class="box">
  <h2>Admin links</h2>
  <ul>
    <li><a href="{{uriPrefix}}/admin/model/">Model Registers</a></li>
  </ul>
</div>
    {% endif %}
{% endblock %}

