{% extends 'basedocumentation.html' %} {% load url from future %} {% block extra_extra_head %} {{ block.super }} {{ form.media.css }} {{ form.media.js }} {% endblock %} {% block doccontent %}

Admin Links

{% if facet = 'top' %}

Rights Holder Admin

Create New Rights Holder

{% csrf_token %} {{ form.as_p }}
{% endif %} {% if facet = 'accepted' %}

Accepted Rights Holders

{% for rights_holder in rights_holders %}
{{ rights_holder.rights_holder_name }}
PSA #: {{ rights_holder.id }}
email: {{ rights_holder.email }}
owner: {{ rights_holder.owner }}
{% empty %}

No rights holders have been accepted yet

{% endfor %}
{% endif %} {% if pending and facet = 'top' %}

Pending Claims

{{ pending_formset.management_form }} {% csrf_token %}
{% for claim, claim_form in pending %}
Title: {{claim.work.title }}
Author: {{claim.work.authors_short }}
By: {{ claim.user.username }}
On Behalf of: {{ claim.rights_holder.rights_holder_name }}
PSA #: {{ claim.rights_holder.id }}
Date of Claim : {{ claim.created }}
Status of Claim: {{ claim.status }}
Change to:
{{ claim_form.as_p }} {% endfor %}
{% endif %} {% if active_data.count and facet = 'claims' %}

Active Claims: {{ active_data.count }}

{% for claim in active_data %}
Title: {{claim.work.title }}
Author: {{claim.work.authors_short }}
By: {{ claim.user.username }}
On Behalf of: {{ claim.rights_holder.rights_holder_name }}
PSA #: {{ claim.rights_holder.id }}
Date of Claim : {{ claim.created }}
Status of Claim: {{ claim.status }}
{% endfor %}
{% endif %} {% endblock %}