{% extends "pact/patient/pactpatient_base.html" %}
{% load case_tags %}

{% block js %}{{ block.super }}
    <script src="{% static "jquery-treetable/jquery.treetable.js" %}"></script>
    <script src="{% static "case/js/case_hierarchy.js" %}"></script>
{% endblock %}

{% block patient-tab-container %}
<script>
    // have to do this here too because this page is loaded asynchronously
    $(function () {
        $(".timeago").timeago();
    });
</script>

<div class="row">
    {# This is needed for rendering the case hierarchy. It's included here to prevent an #}
    {# import error on the case details page: http://manage.dimagi.com/default.asp?223100 #}
    {% include 'cloudcare/includes/formplayer-inline.html' %}
    {% include "case/partials/case_hierarchy.html" %}
</div>
{% endblock %}

{% extends "pact/patient/pactpatient_base.html" %}
{% load case_tags %}
{% load hq_shared_tags %}

{% block js %}{{ block.super }}
    <script src="{% static "jquery-treetable/jquery.treetable.js" %}"></script>
    <script src="{% static "case/js/case_hierarchy.js" %}"></script>
{% endblock %}

{% block patient-tab-container %}
<script>
    // have to do this here too because this page is loaded asynchronously
    $(function () {
        $(".timeago").timeago();
    });
</script>

<div class="row">
    {# This is needed for rendering the case hierarchy. It's included here to prevent an #}
    {# import error on the case details page: http://manage.dimagi.com/default.asp?223100 #}
    {% include 'cloudcare/includes/formplayer-inline.html' %}
    {% include "case/partials/case_hierarchy.html" %}
</div>
{% endblock %}

Fix 500 in pact report
Fix 500 in pact report
