{% extends 'base.html' %}
{% block content %}
{% if can_claim %}
Propose a claim to work on this task.
{% endif %}
{% if old_claims %}
List of all the claims for the task {{task.title}}
{% for claim in old_claims %}
{{claim.claimed_by.username}}
on {{claim.claim_datetime|date:"D d M Y"}} at {{claim.claim_datetime|time:"H:i"}} wrote:
{{claim.proposal|linebreaksbr}}
{% endfor %}
{% else %}
{% if task_claimable %}
There are no claims for this task yet.
{% if can_claim %}
Be the first to claim the task.
{% endif %}
{% else %}
The task cannot be claimed at this stage.
{% endif %}
{% endif %}
{% if task_claimed and is_creator %}
Select a user to assign the work.
{% endif %}
{% if can_claim %}
{% endif %}
{% endblock %}