{% load i18n %} {% load common_filters %} {% load common_tags %} {% comment %} {% endcomment %}
{% if new_errors %}{% endif %} {% if sizeOfJobs == 0 %} {% endif %} {% for j in jobs %} {% if j.job_type == "chgrp" %} {% endif %} {% if j.job_type == "chown" %} {% endif %} {% if j.job_type == "send_email" %} {% endif %} {% if j.job_type == "delete" %} {% endif %} {% if j.job_type == "script" %} {% endif %} {% endfor %}
No Activities
{% if j.status == "in progress" %} {% else %} {% if j.error %} Failed to run script properly {% else %} {% endif %} {% endif %} Move to Group '{{ j.group }}' {% if j.status == "in progress" %} Moving {{ j.dtype }}{{ j.obj_ids|pluralize }} to Group '{{ j.group }}'... {% else %} {% if j.status == "finished" %} {{ j.dtype }}{{ j.obj_ids|pluralize }} moved to Group '{{ j.group }}' Show {{ j.dtype }}{{ j.obj_ids|pluralize }} {% endif %} {% if j.report %}
{{ j.report|truncateafter:"30" }} More...
{{ j.report|linebreaksbr }}
{% endif %} {% endif %}
{% if j.status == "in progress" %} {% else %} {% if j.error %} Chown failed {% else %} {% endif %} {% endif %} Change Owner: '{{ j.owner }}' {% if j.status == "in progress" %} Moving {{ j.dtype }}{{ j.obj_ids|pluralize }} to Owner {{ j.owner }}... {% else %} {% if j.status == "finished" %} {{ j.dtype }}{{ j.obj_ids|pluralize }} moved to Owner {{ j.owner }}. Show {{ j.dtype }}{{ j.obj_ids|pluralize }} {% endif %} {% if j.report %}
{{ j.report|truncateafter:"30" }} More...
{{ j.report|linebreaksbr }}
{% endif %} {% endif %}
{% if j.status == "in progress" %} {% else %} {% if j.error %} Failed to send email {% else %} {% endif %} {% endif %} Send email {% if j.status == "in progress" %} Sending admin email... {% else %} {% if j.status == "finished" %} Sent {{ j.rsp.success }} {% plural j.rsp.success 'email' 'emails' %} of {{ j.rsp.total }} {% endif %} {% if j.report %}
More...

{{ j.report.error }}

{% if j.report.invalidusers %}

Invalid users:

{% for u in j.report.invalidusers %} User: {{ u }}
{% endfor %} {% endif %} {% if j.report.invalidemails %}

Invalid emails:

{% for u in j.report.invalidemails %} Email: {{ u }}
{% endfor %} {% endif %}
{% endif %} {% endif %}
{% if j.status == "in progress" %} Deleting {% else %} {% if j.error %}
{% else %} Success {% endif %} {% endif %}
{% if j.delmany %} Delete {{ j.delmany }} {{ j.dtype }}s {% for iid in j.did %} {% if j.status == "failed" %} {{ j.dtype }} {{ iid }}, {% else %} {{ j.dtype }} {{ iid }}, {% endif %} {% endfor %} {% else %} Delete {{ j.dtype }} {% if j.status == "failed" %} {{ j.dtype }} {{ j.did }} {% else %} {{ j.dtype }} {{ j.did }} {% endif %} {% endif %}
{% if j.dreport %}Error: ({{ j.dreport }}){% endif %}
{% if j.status == "in progress" %} Running Script {% else %} {% if j.error %}
Failed to run script properly {% comment %} {% endcomment %}
{% else %} Success {% endif %} {% endif %}
{% if j.status == 'no processor available' %} No Processor Available Please try again later. {% else %} {{ j.job_name }} {{ j.Message }} {% endif %} {% for k,v in j.results.items %}
{% if v.type and v.id %} {% elif v.type == "URL" %} {% else %} {{ k }}: {{ v }} {% endif %}
{% endfor %}