1234567891011121314151617181920 |
- {% extends "base_generic.html" %}
-
- {% block content %}
- <h1>Licenses</h1>
- {% if license_list %}
- <ul>
- {% for license in license_list %}
- <li>
- {% if "givenlicenses" in request.path %}
- <a href="{% url 'license-detail-given' license.pk %}">{{ license.patient }}</a> ({{license.justified}})
- {% else %}
- <a href="{% url 'license-detail-own' license.pk %}">{{ license.patient }}</a> ({{license.justified}})
- {% endif %}
- </li>
- {% endfor %}
- </ul>
- {% else %}
- <p>There are no Licenses.</p>
- {% endif %}
- {% endblock %}
|