{% macro render_assignment(asgn, base_pay, pay_per_hour, bonus_pay, qtypes=None, crowd_name='mturk') %} {{asgn['AssignmentId']}} [{{'sandbox' if 'sandbox' in crowd_name else 'live'}}]
{{asgn['WorkerId']}}
| Status: {{asgn['AssignmentStatus']}}{{asgn['HITId']}}
(Already approved)
{% else %}(Approval is not applicable)
{% endif %} {% if asgn['AssignmentStatus'] == 'Approved' %} {% endif %} {% if qtypes %} {% else %}(No qualifications are available)
{%endif%} {% endmacro %}