{% extends "base.html.j2" %} {% block page_content %}
User information
User Jobs
search
{% for job in selected_user.jobs.all() %} {% if job.service == 'nlp' %} {% set service_color = 'blue' %} {% set service_icon = 'format_textdirection_l_to_r' %} {% elif job.service =='ocr' %} {% set service_color = 'green' %} {% set service_icon = 'find_in_page' %} {% else %} {% set service_color = 'red' %} {% set service_icon = 'help' %} {% endif %} {% if job.status == 'pending' %} {% set badge_color = 'amber' %} {% elif job.status =='running' %} {% set badge_color = 'indigo' %} {% elif job.status =='complete' %} {% set badge_color = 'teal' %} {% else %} {% set badge_color = 'red' %} {% endif %} {{ service_icon }} {{ job.status }} {{ job.title }}

{{ job.description }}

{% endfor %}
    Administration actions deleteDelete User
    {% endblock %}